Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.166/2.166, allocations: 248.5 MB / 261.1 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 190.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.2 MB / 0.571 GB, free: 11.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 90.48 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.836e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2115, allocations: 106.2 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.227/7.438, allocations: 2.21 GB / 3.1 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/7.439, allocations: 90.62 kB / 3.1 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.691/9.129, allocations: 307.1 MB / 3.4 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/9.129, allocations: 0 / 3.4 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001585/9.13, allocations: 47.98 kB / 3.4 GB, free: 163.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005049/9.135, allocations: 1.762 MB / 3.402 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/9.135, allocations: 12.03 kB / 3.402 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005961/9.135, allocations: 240.6 kB / 3.402 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005533/9.141, allocations: 0.4933 MB / 3.403 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/9.144, allocations: 0.9778 MB / 3.404 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/9.144, allocations: 131.3 kB / 3.404 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003405/9.144, allocations: 164 kB / 3.404 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004421/9.149, allocations: 1.683 MB / 3.406 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/9.149, allocations: 7.938 kB / 3.406 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/9.149, allocations: 76 kB / 3.406 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/9.149, allocations: 40 kB / 3.406 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004298/9.153, allocations: 1.695 MB / 3.407 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/9.166, allocations: 5.061 MB / 3.412 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/9.169, allocations: 1.229 MB / 3.414 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/9.17, allocations: 0.5659 MB / 3.414 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/9.172, allocations: 0.8 MB / 3.415 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/9.173, allocations: 0.7835 MB / 3.416 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 4.439e-06/9.173, allocations: 4 kB / 3.416 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.004996/9.178, allocations: 1.331 MB / 3.417 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/9.179, allocations: 252.6 kB / 3.417 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/9.18, allocations: 0.7393 MB / 3.418 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004038/9.181, allocations: 57.7 kB / 3.418 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/9.181, allocations: 0.6289 MB / 3.419 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/9.182, allocations: 461.3 kB / 3.419 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/9.182, allocations: 20 kB / 3.419 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001196/9.182, allocations: 349.9 kB / 3.419 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/9.183, allocations: 394.5 kB / 3.42 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/9.184, allocations: 0.5452 MB / 3.42 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/9.185, allocations: 471 kB / 3.421 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/9.185, allocations: 0 / 3.421 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004314/9.19, allocations: 1.32 MB / 3.422 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/9.19, allocations: 4 kB / 3.422 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/9.19, allocations: 0 / 3.422 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/9.191, allocations: 200.1 kB / 3.422 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/9.194, allocations: 295.6 kB / 3.422 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/9.2, allocations: 6.748 MB / 3.429 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/9.203, allocations: 150.9 kB / 3.429 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/9.203, allocations: 51.97 kB / 3.429 GB, free: 132.3 MB / 0.8698 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 () * 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.0005059/9.204, allocations: 183.9 kB / 3.429 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/9.204, allocations: 126.5 kB / 3.43 GB, free: 132 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005441/9.21, allocations: 1.654 MB / 3.431 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/9.21, allocations: 16 kB / 3.431 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/9.21, allocations: 0 / 3.431 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/9.21, allocations: 11.97 kB / 3.431 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/9.213, allocations: 1.461 MB / 3.433 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/9.213, allocations: 3.953 kB / 3.433 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002851/9.216, allocations: 303.6 kB / 3.433 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/9.217, allocations: 188.1 kB / 3.433 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/9.217, allocations: 35.97 kB / 3.433 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/9.223, allocations: 6.794 MB / 3.44 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/9.223, allocations: 0 / 3.44 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/9.228, allocations: 1.448 MB / 3.441 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/9.229, allocations: 411 kB / 3.442 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/9.23, allocations: 31.98 kB / 3.442 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/9.232, allocations: 127.7 kB / 3.442 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/9.232, allocations: 97.17 kB / 3.442 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/9.232, allocations: 71.94 kB / 3.442 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001141/9.234, allocations: 0.5892 MB / 3.442 GB, free: 118 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/9.234, allocations: 0 / 3.442 GB, free: 118 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002932/9.237, allocations: 0.6702 MB / 3.443 GB, free: 117.3 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * 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.008214/9.245, allocations: 3.479 MB / 3.447 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003855/9.249, allocations: 1.637 MB / 3.448 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/9.249, allocations: 1.062 kB / 3.448 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/9.251, allocations: 1.203 MB / 3.449 GB, free: 111 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/9.255, allocations: 435.2 kB / 3.45 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/9.265, allocations: 2.582 MB / 3.452 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009744/9.266, allocations: 1.312 MB / 3.454 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003134/9.269, allocations: 425.5 kB / 3.454 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/9.271, allocations: 0.6086 MB / 3.455 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/9.271, allocations: 0 / 3.455 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/9.402, allocations: 55.57 MB / 3.509 GB, free: 50.18 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/9.403, allocations: 222.8 kB / 3.509 GB, free: 49.96 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c:7: In file included from ./Buildings_7_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: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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.o] Error 1