Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.528/2.528, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001551/0.00155, allocations: 181.1 kB / 370.8 MB, free: 10.87 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.052/2.052, 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.001208/0.001208, allocations: 98.81 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005318, allocations: 12.2 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2332, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.771/7.004, allocations: 2.091 GB / 3.07 GB, free: 162.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/7.004, allocations: 89.08 kB / 3.07 GB, free: 162.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.967/8.972, allocations: 311.5 MB / 3.374 GB, free: 235.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.156e-06/8.972, allocations: 1.969 kB / 3.374 GB, free: 235.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001728/8.972, allocations: 43.94 kB / 3.374 GB, free: 235.1 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: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.005349/8.977, allocations: 1.894 MB / 3.376 GB, free: 233.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/8.977, allocations: 12.02 kB / 3.376 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006752/8.978, allocations: 240.4 kB / 3.376 GB, free: 233 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005734/8.984, allocations: 0.4916 MB / 3.377 GB, free: 232.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/8.987, allocations: 0.9663 MB / 3.378 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/8.987, allocations: 123.2 kB / 3.378 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/8.987, allocations: 160 kB / 3.378 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/8.992, allocations: 1.726 MB / 3.379 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.998e-05/8.992, allocations: 0 / 3.379 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/8.992, allocations: 72 kB / 3.38 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/8.993, allocations: 36 kB / 3.38 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005392/8.998, allocations: 1.808 MB / 3.381 GB, free: 227.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/9.011, allocations: 4.813 MB / 3.386 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/9.015, allocations: 1.674 MB / 3.388 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/9.016, allocations: 0.7961 MB / 3.388 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002422/9.019, allocations: 0.8174 MB / 3.389 GB, free: 218.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 4.889e-06/9.019, allocations: 0 / 3.389 GB, free: 218.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.009857/9.029, allocations: 2.453 MB / 3.392 GB, free: 216.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/9.029, allocations: 248.6 kB / 3.392 GB, free: 216.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/9.031, allocations: 0.7274 MB / 3.393 GB, free: 215.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005098/9.031, allocations: 49.7 kB / 3.393 GB, free: 215.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/9.032, allocations: 0.625 MB / 3.393 GB, free: 214.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007527/9.033, allocations: 465.1 kB / 3.394 GB, free: 214.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/9.033, allocations: 24 kB / 3.394 GB, free: 214.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001238/9.033, allocations: 349.9 kB / 3.394 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/9.035, allocations: 446.3 kB / 3.394 GB, free: 213.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/9.037, allocations: 0.5919 MB / 3.395 GB, free: 212.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/9.039, allocations: 0.5206 MB / 3.396 GB, free: 212.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/9.039, allocations: 3.953 kB / 3.396 GB, free: 212.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.006154/9.045, allocations: 1.398 MB / 3.397 GB, free: 210.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/9.045, allocations: 4 kB / 3.397 GB, free: 210.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/9.045, allocations: 4 kB / 3.397 GB, free: 210.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/9.047, allocations: 200.1 kB / 3.397 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/9.05, allocations: 303.6 kB / 3.397 GB, free: 210.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006501/9.056, allocations: 6.8 MB / 3.404 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/9.059, allocations: 150.9 kB / 3.404 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/9.059, allocations: 47.95 kB / 3.404 GB, free: 202.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001128/9.06, allocations: 363.5 kB / 3.405 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/9.06, allocations: 122.5 kB / 3.405 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006302/9.067, allocations: 1.755 MB / 3.406 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/9.067, allocations: 16 kB / 3.406 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/9.067, allocations: 0 / 3.406 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/9.067, allocations: 15.97 kB / 3.406 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009433/9.076, allocations: 3.312 MB / 3.41 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/9.076, allocations: 0 / 3.41 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/9.079, allocations: 311.6 kB / 3.41 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/9.08, allocations: 196.1 kB / 3.41 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/9.081, allocations: 35.97 kB / 3.41 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00614/9.087, allocations: 6.849 MB / 3.417 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/9.087, allocations: 0 / 3.417 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/9.092, allocations: 1.601 MB / 3.418 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/9.093, allocations: 403 kB / 3.419 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/9.094, allocations: 28.42 kB / 3.419 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/9.096, allocations: 135.7 kB / 3.419 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/9.096, allocations: 97.17 kB / 3.419 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/9.096, allocations: 63.95 kB / 3.419 GB, free: 186.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001092/9.097, allocations: 0.5849 MB / 3.42 GB, free: 185.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/9.097, allocations: 0 / 3.42 GB, free: 185.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002819/9.1, allocations: 0.6585 MB / 3.42 GB, free: 185.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009084/9.109, allocations: 3.673 MB / 3.424 GB, free: 181.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004683/9.114, allocations: 1.742 MB / 3.426 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/9.114, allocations: 4.562 kB / 3.426 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/9.117, allocations: 1.251 MB / 3.427 GB, free: 178.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/9.121, allocations: 443.3 kB / 3.427 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/9.143, allocations: 8.195 MB / 3.435 GB, free: 169.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000964/9.144, allocations: 1.3 MB / 3.437 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002909/9.147, allocations: 409.5 kB / 3.437 GB, free: 167.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/9.148, allocations: 0.6008 MB / 3.438 GB, free: 167.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/9.148, allocations: 0 / 3.438 GB, free: 167.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/9.295, allocations: 52.45 MB / 3.489 GB, free: 115.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/9.295, allocations: 259.8 kB / 3.489 GB, free: 114.9 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_Sources_Examples_Outside_CpLowRise.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_Sources_Examples_Outside_CpLowRise_functions.o Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_Sources_Examples_Outside_CpLowRise_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_Sources_Examples_Outside_CpLowRise_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.o] Error 1