Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.874/1.874, allocations: 289.7 MB / 302.2 MB, free: 2.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 183.9 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.23 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.621e-05/4.624e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.324, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.27/7.594, allocations: 2.358 GB / 3.338 GB, free: 193.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/7.594, allocations: 98.48 kB / 3.338 GB, free: 193.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.221/10.82, allocations: 0.9247 GB / 4.263 GB, free: 1.406 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.507e-06/10.82, allocations: 4 kB / 4.263 GB, free: 1.402 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008073/10.82, allocations: 119.9 kB / 4.263 GB, free: 1.285 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.8044/11.62, allocations: 4.232 MB / 4.267 GB, free: 115.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/11.62, allocations: 10.47 kB / 4.267 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002495/11.62, allocations: 0.5114 MB / 4.268 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009062/11.63, allocations: 1.149 MB / 4.269 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/11.65, allocations: 5.334 MB / 4.274 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/11.65, allocations: 281.5 kB / 4.274 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002041/11.65, allocations: 369.3 kB / 4.275 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/11.67, allocations: 5.02 MB / 4.279 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/11.67, allocations: 9.625 kB / 4.279 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007517/11.67, allocations: 159.4 kB / 4.28 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002634/11.67, allocations: 175.6 kB / 4.28 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/11.68, allocations: 4.606 MB / 4.284 GB, free: 114.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03513/11.72, allocations: 19.5 MB / 4.303 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/11.72, allocations: 3.279 MB / 4.307 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002235/11.73, allocations: 1.665 MB / 4.308 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/11.73, allocations: 1.864 MB / 4.31 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003195/11.73, allocations: 1.842 MB / 4.312 GB, free: 105.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 4.539e-06/11.73, allocations: 0 / 4.312 GB, free: 105.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.006722/11.74, allocations: 3.121 MB / 4.315 GB, free: 105.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/11.74, allocations: 288 kB / 4.315 GB, free: 105 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006059/11.74, allocations: 3.417 MB / 4.318 GB, free: 104.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/11.75, allocations: 75.92 kB / 4.319 GB, free: 104.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/11.75, allocations: 1.962 MB / 4.32 GB, free: 104.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/11.75, allocations: 0.9069 MB / 4.321 GB, free: 103.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/11.75, allocations: 58.34 kB / 4.321 GB, free: 103.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001724/11.75, allocations: 420 kB / 4.322 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/11.75, allocations: 1.319 MB / 4.323 GB, free: 103.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002513/11.75, allocations: 2.012 MB / 4.325 GB, free: 102.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/11.76, allocations: 1.677 MB / 4.327 GB, free: 102.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/11.76, allocations: 3.219 kB / 4.327 GB, free: 102.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.00766/11.76, allocations: 3.905 MB / 4.33 GB, free: 102.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001657/11.77, allocations: 7.416 MB / 4.338 GB, free: 94.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/11.77, allocations: 13.88 kB / 4.338 GB, free: 94.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/11.77, allocations: 109.8 kB / 4.338 GB, free: 94.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/11.77, allocations: 0.7914 MB / 4.339 GB, free: 94.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/11.77, allocations: 2.157 MB / 4.341 GB, free: 92.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006301/11.78, allocations: 0.4977 MB / 4.341 GB, free: 92.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006615/11.78, allocations: 146.4 kB / 4.341 GB, free: 92.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/11.78, allocations: 9.938 kB / 4.341 GB, free: 92.41 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006955/11.79, allocations: 3.561 MB / 4.345 GB, free: 92.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/11.79, allocations: 18.34 kB / 4.345 GB, free: 92.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/11.79, allocations: 109.8 kB / 4.345 GB, free: 92.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003497/11.79, allocations: 0.7821 MB / 4.346 GB, free: 92.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/11.79, allocations: 1.571 MB / 4.347 GB, free: 91.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005118/11.8, allocations: 468.3 kB / 4.348 GB, free: 90.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004628/11.8, allocations: 140.5 kB / 4.348 GB, free: 90.88 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001001/11.8, allocations: 286 kB / 4.348 GB, free: 90.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/11.8, allocations: 388.3 kB / 4.348 GB, free: 90.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007906/11.81, allocations: 3.932 MB / 4.352 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/11.81, allocations: 25.03 kB / 4.352 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/11.81, allocations: 3.188 kB / 4.352 GB, free: 90.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004508/11.81, allocations: 3.057 MB / 4.355 GB, free: 89.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/11.83, allocations: 8.557 MB / 4.364 GB, free: 89.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/11.83, allocations: 0 / 4.364 GB, free: 89.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/11.83, allocations: 0.6258 MB / 4.364 GB, free: 89.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005142/11.83, allocations: 99.33 kB / 4.364 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/11.83, allocations: 80.42 kB / 4.364 GB, free: 89.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/11.84, allocations: 2.163 MB / 4.367 GB, free: 87.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/11.84, allocations: 0.8594 kB / 4.367 GB, free: 87.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009515/11.85, allocations: 5.426 MB / 4.372 GB, free: 86.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004012/11.85, allocations: 1.077 MB / 4.373 GB, free: 86.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/11.85, allocations: 60.69 kB / 4.373 GB, free: 86.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/11.85, allocations: 330.4 kB / 4.373 GB, free: 86.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/11.85, allocations: 169.7 kB / 4.373 GB, free: 86.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003331/11.86, allocations: 131 kB / 4.374 GB, free: 86.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004704/11.86, allocations: 2.691 MB / 4.376 GB, free: 86.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/11.86, allocations: 0 / 4.376 GB, free: 86.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00957/11.87, allocations: 2.429 MB / 4.379 GB, free: 85.97 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01485/11.88, allocations: 7.664 MB / 4.386 GB, free: 84.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01414/11.9, allocations: 5.516 MB / 4.391 GB, free: 84.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.649e-05/11.9, allocations: 3.484 kB / 4.391 GB, free: 84.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003775/11.9, allocations: 1.732 MB / 4.393 GB, free: 84.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01285/11.92, allocations: 2.035 MB / 4.395 GB, free: 84.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/11.94, allocations: 9.143 MB / 4.404 GB, free: 82.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002848/11.94, allocations: 3.114 MB / 4.407 GB, free: 81.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01124/11.95, allocations: 3.004 MB / 4.41 GB, free: 81.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003594/11.96, allocations: 1.795 MB / 4.412 GB, free: 81.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/11.96, allocations: 0 / 4.412 GB, free: 81.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2265/12.18, allocations: 137.9 MB / 4.546 GB, free: 50.64 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/12.18, allocations: 223.8 kB / 4.547 GB, free: 50.41 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o] Error 1