Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001216/0.001217, allocations: 181.2 kB / 371.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009228/0.0009227, allocations: 93.3 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.972e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.886/6.164, allocations: 2.092 GB / 3.072 GB, free: 148.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/6.164, allocations: 84.8 kB / 3.072 GB, free: 148.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.383/7.547, allocations: 311 MB / 3.376 GB, free: 195.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/7.547, allocations: 0 / 3.376 GB, free: 195.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001087/7.547, allocations: 40.98 kB / 3.376 GB, free: 195.6 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.003261/7.551, allocations: 1.744 MB / 3.378 GB, free: 194.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/7.551, allocations: 7.812 kB / 3.378 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/7.551, allocations: 235.5 kB / 3.378 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/7.554, allocations: 492.7 kB / 3.379 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/7.556, allocations: 0.9634 MB / 3.379 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/7.556, allocations: 124.4 kB / 3.38 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/7.556, allocations: 160.2 kB / 3.38 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/7.559, allocations: 1.658 MB / 3.381 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/7.559, allocations: 0 / 3.381 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/7.559, allocations: 75 kB / 3.381 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/7.559, allocations: 39.55 kB / 3.381 GB, free: 192 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/7.562, allocations: 1.701 MB / 3.383 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007166/7.569, allocations: 4.814 MB / 3.388 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/7.571, allocations: 1.566 MB / 3.389 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/7.572, allocations: 0.577 MB / 3.39 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008204/7.573, allocations: 0.8035 MB / 3.391 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/7.574, allocations: 0.7699 MB / 3.391 GB, free: 185 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 4.929e-06/7.574, allocations: 4 kB / 3.391 GB, free: 185 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.003387/7.577, allocations: 1.338 MB / 3.393 GB, free: 184.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/7.577, allocations: 251.7 kB / 3.393 GB, free: 184 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/7.579, allocations: 0.7186 MB / 3.394 GB, free: 183.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/7.579, allocations: 57.39 kB / 3.394 GB, free: 183.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/7.579, allocations: 0.6183 MB / 3.394 GB, free: 183.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/7.58, allocations: 466.5 kB / 3.395 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/7.58, allocations: 22.5 kB / 3.395 GB, free: 182.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/7.58, allocations: 348.6 kB / 3.395 GB, free: 182.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/7.58, allocations: 404.5 kB / 3.396 GB, free: 182.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/7.581, allocations: 0.5482 MB / 3.396 GB, free: 181.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007995/7.582, allocations: 481.6 kB / 3.397 GB, free: 181.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/7.582, allocations: 4 kB / 3.397 GB, free: 181.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002832/7.585, allocations: 1.319 MB / 3.398 GB, free: 180.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/7.585, allocations: 11.69 kB / 3.398 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/7.585, allocations: 4 kB / 3.398 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00093/7.586, allocations: 196.1 kB / 3.398 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/7.587, allocations: 292.4 kB / 3.398 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/7.592, allocations: 6.762 MB / 3.405 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/7.594, allocations: 154.3 kB / 3.405 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/7.594, allocations: 44.56 kB / 3.405 GB, free: 173.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 () * 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.0004468/7.594, allocations: 173 kB / 3.405 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/7.595, allocations: 125.1 kB / 3.405 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/7.599, allocations: 1.673 MB / 3.407 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/7.599, allocations: 14.31 kB / 3.407 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/7.599, allocations: 3.969 kB / 3.407 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/7.599, allocations: 7.969 kB / 3.407 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006298/7.605, allocations: 3.227 MB / 3.41 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/7.605, allocations: 0 / 3.41 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/7.607, allocations: 312.4 kB / 3.411 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008394/7.607, allocations: 187 kB / 3.411 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/7.608, allocations: 40.78 kB / 3.411 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/7.613, allocations: 6.797 MB / 3.417 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/7.613, allocations: 3.953 kB / 3.417 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/7.617, allocations: 1.506 MB / 3.419 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/7.619, allocations: 410.1 kB / 3.419 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/7.619, allocations: 24.88 kB / 3.419 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/7.621, allocations: 125.7 kB / 3.419 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/7.621, allocations: 105.1 kB / 3.419 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/7.622, allocations: 64.11 kB / 3.42 GB, free: 162 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00129/7.623, allocations: 0.5724 MB / 3.42 GB, free: 161.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/7.623, allocations: 0 / 3.42 GB, free: 161.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0032/7.626, allocations: 0.6611 MB / 3.421 GB, free: 161.4 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) * 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.006741/7.633, allocations: 3.554 MB / 3.424 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002683/7.636, allocations: 1.638 MB / 3.426 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/7.636, allocations: 8.688 kB / 3.426 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/7.637, allocations: 1.203 MB / 3.427 GB, free: 156.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/7.64, allocations: 435.8 kB / 3.427 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/7.647, allocations: 2.507 MB / 3.43 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/7.648, allocations: 1.3 MB / 3.431 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002109/7.65, allocations: 413.5 kB / 3.432 GB, free: 151.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/7.651, allocations: 0.6047 MB / 3.432 GB, free: 151 MB / 0.948 GB Notification: Performance of SimCode: time 1.924e-06/7.651, allocations: 0 / 3.432 GB, free: 151 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/7.752, allocations: 55.65 MB / 3.486 GB, free: 95.55 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/7.752, allocations: 219.7 kB / 3.487 GB, free: 95.33 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_Sources_Examples_Outside_CpLowRise.o Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.c:7: In file included from ./Buildings_8_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 -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_Sources_Examples_Outside_CpLowRise_functions.o Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c In file included from Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_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_Sources_Examples_Outside_CpLowRise_functions.o] Error 1