Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.671/2.671, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.00161/0.00161, allocations: 185.2 kB / 370.8 MB, free: 10.85 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.153/2.153, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001217, allocations: 102.8 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007465/0.0007466, allocations: 15.83 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2392, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.917/8.156, allocations: 2.357 GB / 3.335 GB, free: 264 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/8.156, allocations: 95.47 kB / 3.336 GB, free: 264 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.21/13.37, allocations: 0.9273 GB / 4.263 GB, free: 82.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/13.37, allocations: 0 / 4.263 GB, free: 82.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008727/13.37, allocations: 135.8 kB / 4.263 GB, free: 82.38 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.02252/13.39, allocations: 5.063 MB / 4.268 GB, free: 77.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.246e-05/13.39, allocations: 12.03 kB / 4.268 GB, free: 77.23 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002618/13.39, allocations: 0.5183 MB / 4.268 GB, free: 76.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/13.4, allocations: 1.149 MB / 4.27 GB, free: 75.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01977/13.42, allocations: 5.374 MB / 4.275 GB, free: 70.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/13.43, allocations: 271.4 kB / 4.275 GB, free: 69.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/13.43, allocations: 375.8 kB / 4.275 GB, free: 69.47 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01753/13.44, allocations: 5.311 MB / 4.281 GB, free: 63.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001614/13.44, allocations: 11.94 kB / 4.281 GB, free: 63.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007989/13.45, allocations: 160 kB / 4.281 GB, free: 63.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/13.45, allocations: 175.1 kB / 4.281 GB, free: 63.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/13.47, allocations: 5.141 MB / 4.286 GB, free: 58.5 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04909/13.51, allocations: 19.5 MB / 4.305 GB, free: 38.35 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/13.53, allocations: 3.635 MB / 4.309 GB, free: 34.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003036/13.53, allocations: 1.864 MB / 4.31 GB, free: 32.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00788/13.54, allocations: 2.015 MB / 4.312 GB, free: 30.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 6.563e-06/13.54, allocations: 0 / 4.312 GB, free: 30.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.02379/13.56, allocations: 4.98 MB / 4.317 GB, free: 25.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/13.56, allocations: 287.1 kB / 4.317 GB, free: 24.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009808/13.57, allocations: 3.452 MB / 4.321 GB, free: 21.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/13.57, allocations: 77.7 kB / 4.321 GB, free: 21.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003002/13.58, allocations: 1.96 MB / 4.323 GB, free: 19.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/13.58, allocations: 0.905 MB / 4.324 GB, free: 18.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/13.58, allocations: 59.94 kB / 4.324 GB, free: 18.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002546/13.58, allocations: 427.9 kB / 4.324 GB, free: 18.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006251/13.59, allocations: 1.501 MB / 4.326 GB, free: 16.58 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007248/13.59, allocations: 2.186 MB / 4.328 GB, free: 14.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/13.6, allocations: 1.854 MB / 4.33 GB, free: 12.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/13.6, allocations: 4 kB / 4.33 GB, free: 12.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01814/13.62, allocations: 4.261 MB / 4.334 GB, free: 7.934 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.7628/14.38, allocations: 7.405 MB / 4.341 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.811e-05/14.38, allocations: 16.72 kB / 4.341 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/14.38, allocations: 118.5 kB / 4.341 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008636/14.39, allocations: 0.7916 MB / 4.342 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/14.4, allocations: 2.168 MB / 4.344 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008371/14.4, allocations: 0.4986 MB / 4.345 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/14.41, allocations: 149 kB / 4.345 GB, free: 165.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/14.41, allocations: 6.75 kB / 4.345 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01838/14.42, allocations: 3.923 MB / 4.348 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/14.42, allocations: 19.11 kB / 4.348 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/14.43, allocations: 118.5 kB / 4.349 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008057/14.43, allocations: 0.7803 MB / 4.349 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/14.44, allocations: 1.579 MB / 4.351 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/14.44, allocations: 485.9 kB / 4.351 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/14.45, allocations: 141.4 kB / 4.352 GB, free: 163.9 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 () * Number of clocked 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.005724/14.45, allocations: 1.5 MB / 4.353 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/14.45, allocations: 388.6 kB / 4.353 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02201/14.48, allocations: 4.284 MB / 4.358 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.48e-05/14.48, allocations: 36.39 kB / 4.358 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/14.48, allocations: 4.469 kB / 4.358 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01623/14.49, allocations: 3.406 MB / 4.361 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03614/14.53, allocations: 8.911 MB / 4.37 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/14.53, allocations: 3.953 kB / 4.37 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006977/14.53, allocations: 0.6221 MB / 4.37 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009306/14.54, allocations: 90 kB / 4.37 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008512/14.54, allocations: 92.91 kB / 4.37 GB, free: 162.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/14.54, allocations: 2.164 MB / 4.372 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/14.54, allocations: 3.797 kB / 4.373 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02433/14.56, allocations: 5.957 MB / 4.378 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004611/14.57, allocations: 1.08 MB / 4.379 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/14.57, allocations: 60.34 kB / 4.379 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007792/14.58, allocations: 324.3 kB / 4.38 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009781/14.58, allocations: 181.4 kB / 4.38 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006377/14.58, allocations: 128 kB / 4.38 GB, free: 159.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008384/14.59, allocations: 2.726 MB / 4.383 GB, free: 159.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.51e-07/14.59, allocations: 0 / 4.383 GB, free: 159.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01553/14.6, allocations: 2.433 MB / 4.385 GB, free: 159.5 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) * Number of clocked states: 0 () * 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.03262/14.64, allocations: 8.217 MB / 4.393 GB, free: 158.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02585/14.66, allocations: 5.949 MB / 4.399 GB, free: 157.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/14.66, allocations: 8.172 kB / 4.399 GB, free: 157.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008026/14.67, allocations: 1.91 MB / 4.401 GB, free: 157.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01774/14.69, allocations: 2.036 MB / 4.403 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1289/14.82, allocations: 43.7 MB / 4.445 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004874/14.82, allocations: 3.111 MB / 4.448 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01352/14.84, allocations: 2.058 MB / 4.45 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005894/14.84, allocations: 1.86 MB / 4.452 GB, free: 133.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.263e-06/14.84, allocations: 3 kB / 4.452 GB, free: 133.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.332/15.17, allocations: 131.5 MB / 4.581 GB, free: 88.83 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/15.17, allocations: 261.1 kB / 4.581 GB, free: 88.49 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o] Error 1