Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",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.884/2.884, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.001521/0.001521, allocations: 185 kB / 370.8 MB, free: 10.86 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.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001772/0.001772, allocations: 90.06 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005222, allocations: 20.61 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2323, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.787/8.02, allocations: 2.358 GB / 3.336 GB, free: 263.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/8.02, allocations: 104.2 kB / 3.336 GB, free: 263.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.803/12.82, allocations: 0.9276 GB / 4.264 GB, free: 81.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.617e-06/12.82, allocations: 4 kB / 4.264 GB, free: 81.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008895/12.82, allocations: 123.8 kB / 4.264 GB, free: 81.72 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.02112/12.84, allocations: 5.082 MB / 4.269 GB, free: 76.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/12.84, allocations: 15.97 kB / 4.269 GB, free: 76.55 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002612/12.85, allocations: 0.5261 MB / 4.269 GB, free: 76.01 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/12.86, allocations: 1.25 MB / 4.27 GB, free: 74.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02062/12.88, allocations: 5.421 MB / 4.276 GB, free: 69.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/12.88, allocations: 279.4 kB / 4.276 GB, free: 68.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/12.88, allocations: 379.9 kB / 4.276 GB, free: 68.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/12.9, allocations: 5.35 MB / 4.281 GB, free: 63.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/12.9, allocations: 11.94 kB / 4.282 GB, free: 63.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009167/12.9, allocations: 164 kB / 4.282 GB, free: 62.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/12.9, allocations: 167.2 kB / 4.282 GB, free: 62.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/12.93, allocations: 5.227 MB / 4.287 GB, free: 57.54 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.072/13, allocations: 19.59 MB / 4.306 GB, free: 37.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/13.01, allocations: 3.646 MB / 4.31 GB, free: 33.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002911/13.02, allocations: 1.864 MB / 4.311 GB, free: 31.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008254/13.03, allocations: 2.058 MB / 4.313 GB, free: 29.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 6.964e-06/13.03, allocations: 0 / 4.313 GB, free: 29.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.02458/13.05, allocations: 5.093 MB / 4.318 GB, free: 24.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/13.05, allocations: 291.1 kB / 4.319 GB, free: 23.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009507/13.06, allocations: 3.472 MB / 4.322 GB, free: 20.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/13.06, allocations: 81.7 kB / 4.322 GB, free: 20.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002946/13.06, allocations: 1.956 MB / 4.324 GB, free: 18.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001808/13.07, allocations: 0.9127 MB / 4.325 GB, free: 17.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006267/13.07, allocations: 56 kB / 4.325 GB, free: 17.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003182/13.07, allocations: 424 kB / 4.325 GB, free: 16.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006514/13.07, allocations: 1.548 MB / 4.327 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00753/13.08, allocations: 2.237 MB / 4.329 GB, free: 12.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00758/13.09, allocations: 1.886 MB / 4.331 GB, free: 10.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/13.09, allocations: 12 kB / 4.331 GB, free: 10.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.0193/13.11, allocations: 4.364 MB / 4.335 GB, free: 6.449 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.841/13.95, allocations: 7.407 MB / 4.342 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/13.95, allocations: 17 kB / 4.342 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/13.95, allocations: 114.5 kB / 4.343 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01196/13.96, allocations: 0.811 MB / 4.343 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/13.97, allocations: 2.175 MB / 4.346 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/13.98, allocations: 0.5135 MB / 4.346 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/13.98, allocations: 149.3 kB / 4.346 GB, free: 162.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/13.98, allocations: 4.438 kB / 4.346 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02809/14.01, allocations: 4.031 MB / 4.35 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/14.01, allocations: 17.22 kB / 4.35 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/14.01, allocations: 112.2 kB / 4.35 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/14.02, allocations: 0.8055 MB / 4.351 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/14.03, allocations: 1.58 MB / 4.353 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/14.04, allocations: 489.2 kB / 4.353 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/14.04, allocations: 146 kB / 4.353 GB, free: 160.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 (370): * Single equations (assignments): 368 * 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.007817/14.05, allocations: 1.507 MB / 4.355 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003068/14.05, allocations: 388.8 kB / 4.355 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03458/14.08, allocations: 4.36 MB / 4.359 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.321e-05/14.08, allocations: 29.25 kB / 4.359 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/14.08, allocations: 0 / 4.359 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.022/14.11, allocations: 3.491 MB / 4.363 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04842/14.16, allocations: 9.002 MB / 4.371 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/14.16, allocations: 0 / 4.371 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009625/14.16, allocations: 0.64 MB / 4.372 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/14.17, allocations: 87.05 kB / 4.372 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/14.17, allocations: 86.8 kB / 4.372 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/14.17, allocations: 2.171 MB / 4.374 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/14.17, allocations: 0 / 4.374 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03467/14.21, allocations: 6.085 MB / 4.38 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005931/14.21, allocations: 1.083 MB / 4.381 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002652/14.21, allocations: 54.72 kB / 4.381 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0107/14.23, allocations: 339.5 kB / 4.382 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/14.23, allocations: 177.8 kB / 4.382 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000973/14.23, allocations: 132 kB / 4.382 GB, free: 156.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01163/14.24, allocations: 2.734 MB / 4.385 GB, free: 156.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.232e-06/14.24, allocations: 0 / 4.385 GB, free: 156.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01955/14.26, allocations: 2.43 MB / 4.387 GB, free: 156.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 (286): * Single equations (assignments): 276 * 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.04527/14.3, allocations: 8.341 MB / 4.395 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03578/14.34, allocations: 6.101 MB / 4.401 GB, free: 154.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/14.34, allocations: 1.328 kB / 4.401 GB, free: 154.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/14.35, allocations: 1.961 MB / 4.403 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02306/14.37, allocations: 2.036 MB / 4.405 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05771/14.43, allocations: 26.1 MB / 4.431 GB, free: 136.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007863/14.44, allocations: 3.116 MB / 4.434 GB, free: 135.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02067/14.46, allocations: 2.061 MB / 4.436 GB, free: 135.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007994/14.47, allocations: 1.903 MB / 4.438 GB, free: 135.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.305e-06/14.47, allocations: 1.688 kB / 4.438 GB, free: 135.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2957/14.76, allocations: 130 MB / 4.564 GB, free: 102.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/14.77, allocations: 257.5 kB / 4.565 GB, free: 102.4 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_Tubular.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_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_Tubular_functions.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_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_Tubular_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_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_Tubular_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.o] Error 1