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.753/2.753, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001677/0.001677, allocations: 178.1 kB / 370.8 MB, free: 10.89 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.205/2.205, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001126/0.001126, allocations: 91.94 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004918, allocations: 11.41 kB / 0.8657 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2309, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.9001/1.131, allocations: 139.9 MB / 1.115 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02779/1.159, allocations: 13.63 MB / 1.128 GB, free: 15.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/1.161, allocations: 30.53 kB / 1.128 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/1.163, allocations: 313.2 kB / 1.129 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005867/1.169, allocations: 1.055 MB / 1.13 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005834/1.175, allocations: 1.059 MB / 1.131 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00418/1.179, allocations: 1.406 MB / 1.132 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003334/1.183, allocations: 1.391 MB / 1.133 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/1.186, allocations: 0.8165 MB / 1.134 GB, free: 15.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/1.187, allocations: 0.5585 MB / 1.135 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004343/1.188, allocations: 38.16 kB / 1.135 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/1.192, allocations: 0.841 MB / 1.136 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000786/1.193, allocations: 321.8 kB / 1.136 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000745/1.193, allocations: 318.1 kB / 1.136 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005173/1.199, allocations: 2.018 MB / 1.138 GB, free: 14.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/1.199, allocations: 0 / 1.138 GB, free: 14.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/1.199, allocations: 0 / 1.138 GB, free: 14.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.921e-05/1.199, allocations: 4 kB / 1.138 GB, free: 14.36 MB / 0.698 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.006375/1.205, allocations: 1.773 MB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.205, allocations: 9.469 kB / 1.14 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009469/1.206, allocations: 240.5 kB / 1.14 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00617/1.212, allocations: 0.5069 MB / 1.141 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/1.216, allocations: 1.009 MB / 1.142 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/1.216, allocations: 122.4 kB / 1.142 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/1.217, allocations: 162.2 kB / 1.142 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006326/1.223, allocations: 1.728 MB / 1.144 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/1.223, allocations: 1 kB / 1.144 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/1.223, allocations: 73.91 kB / 1.144 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/1.223, allocations: 40 kB / 1.144 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006855/1.23, allocations: 1.806 MB / 1.145 GB, free: 11.36 MB / 0.698 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.01553/1.246, allocations: 4.982 MB / 1.15 GB, free: 8.504 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/1.252, allocations: 1.428 MB / 1.152 GB, free: 8.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/1.252, allocations: 468.9 kB / 1.152 GB, free: 7.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/1.255, allocations: 0.814 MB / 1.153 GB, free: 7.488 MB / 0.698 GB Notification: Performance of pre-optimization done (n=137): time 5.851e-06/1.256, allocations: 0 / 1.153 GB, free: 7.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=137): time 0.01173/1.267, allocations: 2.427 MB / 1.155 GB, free: 6.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/1.267, allocations: 198.9 kB / 1.155 GB, free: 6.305 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.269, allocations: 0.7525 MB / 1.156 GB, free: 6.059 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004777/1.27, allocations: 59.58 kB / 1.156 GB, free: 6.023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/1.271, allocations: 0.6223 MB / 1.157 GB, free: 5.664 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000905/1.272, allocations: 460.2 kB / 1.157 GB, free: 5.332 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.272, allocations: 23.38 kB / 1.157 GB, free: 5.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002097/1.272, allocations: 350.1 kB / 1.158 GB, free: 5.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/1.274, allocations: 438.7 kB / 1.158 GB, free: 4.941 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.276, allocations: 0.5884 MB / 1.159 GB, free: 4.734 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/1.278, allocations: 0.4975 MB / 1.159 GB, free: 4.527 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/1.278, allocations: 4.453 kB / 1.159 GB, free: 4.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.006368/1.285, allocations: 1.405 MB / 1.161 GB, free: 3.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.285, allocations: 8.125 kB / 1.161 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.285, allocations: 0 / 1.161 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/1.286, allocations: 196 kB / 1.161 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/1.289, allocations: 315.4 kB / 1.161 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008983/1.298, allocations: 6.811 MB / 1.168 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.301, allocations: 158 kB / 1.168 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/1.301, allocations: 52.73 kB / 1.168 GB, free: 12.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (136): * Single equations (assignments): 131 * 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.001387/1.303, allocations: 356.1 kB / 1.168 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005493/1.303, allocations: 124.9 kB / 1.168 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007248/1.31, allocations: 1.74 MB / 1.17 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/1.31, allocations: 18.64 kB / 1.17 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.31, allocations: 7.156 kB / 1.17 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-05/1.311, allocations: 4.219 kB / 1.17 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.321, allocations: 3.092 MB / 1.173 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.321, allocations: 2.781 kB / 1.173 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/1.324, allocations: 316.8 kB / 1.173 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/1.326, allocations: 197.5 kB / 1.174 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/1.326, allocations: 44.16 kB / 1.174 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008514/1.335, allocations: 6.855 MB / 1.18 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.335, allocations: 6.375 kB / 1.18 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/1.341, allocations: 1.753 MB / 1.182 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.343, allocations: 401.9 kB / 1.182 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/1.343, allocations: 30.81 kB / 1.182 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.346, allocations: 125.3 kB / 1.183 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004623/1.346, allocations: 106.7 kB / 1.183 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002684/1.347, allocations: 67.7 kB / 1.183 GB, free: 408 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001218/1.348, allocations: 0.5281 MB / 1.183 GB, free: 100 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5.61e-07/1.348, allocations: 4 kB / 1.183 GB, free: 96 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002933/1.351, allocations: 0.5287 MB / 1.184 GB, free: 15.94 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.009371/1.36, allocations: 3.422 MB / 1.187 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005742/1.366, allocations: 1.755 MB / 1.189 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.366, allocations: 3.094 kB / 1.189 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00361/1.37, allocations: 1.26 MB / 1.19 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.374, allocations: 448.7 kB / 1.19 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02879/1.403, allocations: 8.332 MB / 1.199 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/1.404, allocations: 1.296 MB / 1.2 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003724/1.408, allocations: 425.5 kB / 1.2 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/1.41, allocations: 0.6125 MB / 1.201 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/1.41, allocations: 4 kB / 1.201 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.521, allocations: 34.78 MB / 1.235 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004525/1.522, allocations: 262.5 kB / 1.235 GB, free: 14.76 MB / 0.7761 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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