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.694/1.694, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001157/0.001158, allocations: 182.9 kB / 377.1 MB, free: 1.52 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.765/1.765, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.00102/0.001021, allocations: 85.11 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.285, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.677/5.962, allocations: 2.092 GB / 3.081 GB, free: 126.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/5.963, allocations: 87.95 kB / 3.081 GB, free: 126.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.271/7.234, allocations: 311.5 MB / 3.385 GB, free: 186.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.494e-06/7.234, allocations: 0 / 3.385 GB, free: 186.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000202/7.234, allocations: 43.25 kB / 3.385 GB, free: 186.8 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.004583/7.239, allocations: 1.891 MB / 3.387 GB, free: 185.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/7.239, allocations: 15.39 kB / 3.387 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003808/7.239, allocations: 242.1 kB / 3.387 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/7.242, allocations: 489.9 kB / 3.388 GB, free: 184.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/7.244, allocations: 0.9723 MB / 3.389 GB, free: 184.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/7.244, allocations: 121 kB / 3.389 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/7.244, allocations: 156.9 kB / 3.389 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/7.247, allocations: 1.721 MB / 3.391 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/7.247, allocations: 0 / 3.391 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/7.247, allocations: 75.84 kB / 3.391 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/7.247, allocations: 37.94 kB / 3.391 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/7.25, allocations: 1.797 MB / 3.393 GB, free: 182.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006999/7.257, allocations: 4.831 MB / 3.397 GB, free: 177.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/7.259, allocations: 1.67 MB / 3.399 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/7.26, allocations: 0.8039 MB / 3.4 GB, free: 174.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/7.262, allocations: 0.8103 MB / 3.4 GB, free: 174 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 3.276e-06/7.262, allocations: 0 / 3.4 GB, free: 174 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.005537/7.267, allocations: 2.445 MB / 3.403 GB, free: 171.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.606e-05/7.267, allocations: 256.6 kB / 3.403 GB, free: 171.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/7.268, allocations: 0.7234 MB / 3.404 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/7.268, allocations: 57.7 kB / 3.404 GB, free: 170.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/7.269, allocations: 0.621 MB / 3.404 GB, free: 169.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/7.269, allocations: 453.3 kB / 3.405 GB, free: 169.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/7.269, allocations: 24 kB / 3.405 GB, free: 169.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/7.269, allocations: 353.9 kB / 3.405 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007902/7.27, allocations: 446.3 kB / 3.406 GB, free: 168.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008913/7.271, allocations: 0.5958 MB / 3.406 GB, free: 167.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/7.272, allocations: 0.51 MB / 3.407 GB, free: 167.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/7.272, allocations: 0 / 3.407 GB, free: 167.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00299/7.275, allocations: 1.402 MB / 3.408 GB, free: 165.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/7.275, allocations: 8 kB / 3.408 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/7.275, allocations: 64 / 3.408 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009446/7.276, allocations: 204 kB / 3.408 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/7.277, allocations: 299.6 kB / 3.409 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/7.282, allocations: 6.82 MB / 3.415 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/7.284, allocations: 143 kB / 3.415 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/7.285, allocations: 43.97 kB / 3.415 GB, free: 157.7 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.001171/7.286, allocations: 362.8 kB / 3.416 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/7.286, allocations: 122.5 kB / 3.416 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/7.29, allocations: 1.751 MB / 3.418 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/7.29, allocations: 16 kB / 3.418 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/7.29, allocations: 4 kB / 3.418 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/7.29, allocations: 11.97 kB / 3.418 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/7.296, allocations: 3.307 MB / 3.421 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/7.296, allocations: 0 / 3.421 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/7.297, allocations: 311.6 kB / 3.421 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007603/7.298, allocations: 196 kB / 3.421 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.604e-05/7.298, allocations: 39.97 kB / 3.421 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/7.302, allocations: 6.853 MB / 3.428 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/7.302, allocations: 3.953 kB / 3.428 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/7.305, allocations: 1.594 MB / 3.43 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/7.306, allocations: 410.9 kB / 3.43 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/7.306, allocations: 31.94 kB / 3.43 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/7.307, allocations: 123.8 kB / 3.43 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/7.307, allocations: 97.17 kB / 3.43 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/7.307, allocations: 63.95 kB / 3.43 GB, free: 141.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007425/7.308, allocations: 0.5849 MB / 3.431 GB, free: 141 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.308, allocations: 0 / 3.431 GB, free: 141 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00225/7.31, allocations: 0.6623 MB / 3.432 GB, free: 140.3 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.006269/7.317, allocations: 3.675 MB / 3.435 GB, free: 136.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002877/7.32, allocations: 1.75 MB / 3.437 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/7.32, allocations: 0.5625 kB / 3.437 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/7.321, allocations: 1.258 MB / 3.438 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/7.323, allocations: 436.3 kB / 3.439 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/7.336, allocations: 8.179 MB / 3.447 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/7.336, allocations: 1.304 MB / 3.448 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001772/7.338, allocations: 413.5 kB / 3.448 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007928/7.339, allocations: 0.6047 MB / 3.449 GB, free: 122.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.763e-06/7.339, allocations: 0 / 3.449 GB, free: 122.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08276/7.422, allocations: 52.44 MB / 3.5 GB, free: 70.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/7.422, allocations: 256.4 kB / 3.5 GB, free: 69.86 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.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: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 -falign-functions -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.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: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_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