Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.SimpleHouse.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.Examples.SimpleHouse,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse",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.553/2.553, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001552/0.001552, allocations: 179.9 kB / 370.8 MB, free: 10.88 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.132/2.132, 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.001175/0.001174, allocations: 92.83 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004863, allocations: 11.88 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.984/8.206, allocations: 2.411 GB / 3.39 GB, free: 216 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/8.207, allocations: 101.3 kB / 3.39 GB, free: 216 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 20.74/28.95, allocations: 3.712 GB / 7.102 GB, free: 89.19 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.805e-06/28.95, allocations: 3.719 kB / 7.102 GB, free: 89.19 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001542/28.95, allocations: 178 kB / 7.102 GB, free: 89.16 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1198 * Number of variables: 1198 Notification: Performance of Generate backend data structure: time 0.04205/28.99, allocations: 8.215 MB / 7.11 GB, free: 86.07 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/28.99, allocations: 9.469 kB / 7.11 GB, free: 86.07 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003434/28.99, allocations: 0.6329 MB / 7.111 GB, free: 86 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02751/29.02, allocations: 2.626 MB / 7.113 GB, free: 85.59 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03604/29.06, allocations: 7.816 MB / 7.121 GB, free: 84.55 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006962/29.06, allocations: 372.7 kB / 7.121 GB, free: 84.54 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/29.06, allocations: 494.3 kB / 7.122 GB, free: 84.54 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/29.08, allocations: 6.018 MB / 7.128 GB, free: 83.74 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002285/29.08, allocations: 11.61 kB / 7.128 GB, free: 83.74 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/29.08, allocations: 199.5 kB / 7.128 GB, free: 83.74 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/29.08, allocations: 200.2 kB / 7.128 GB, free: 83.73 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/29.11, allocations: 5.497 MB / 7.133 GB, free: 83.68 MB / 1.089 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.06871/29.17, allocations: 26.71 MB / 7.159 GB, free: 71.35 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/29.19, allocations: 4.199 MB / 7.164 GB, free: 71.26 MB / 1.089 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 evalFunc (simulation): time 0.03364/29.23, allocations: 8.111 MB / 7.171 GB, free: 69.71 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008307/29.23, allocations: 2.158 MB / 7.174 GB, free: 69.57 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005649/29.24, allocations: 490.5 kB / 7.174 GB, free: 69.41 MB / 1.089 GB Notification: Performance of pre-optimization done (n=298): time 2.18e-05/29.24, allocations: 0 / 7.174 GB, free: 69.41 MB / 1.089 GB Notification: Performance of matching and sorting (n=298): time 0.03265/29.27, allocations: 6.653 MB / 7.181 GB, free: 68.01 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/29.27, allocations: 450.2 kB / 7.181 GB, free: 67.51 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/29.29, allocations: 4.712 MB / 7.186 GB, free: 67.11 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/29.29, allocations: 96.45 kB / 7.186 GB, free: 67.08 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.005055/29.29, allocations: 2.985 MB / 7.189 GB, free: 66.19 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.002064/29.3, allocations: 1.015 MB / 7.19 GB, free: 65.54 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006072/29.3, allocations: 73.27 kB / 7.19 GB, free: 65.54 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0003534/29.3, allocations: 460.3 kB / 7.19 GB, free: 65.23 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006876/29.3, allocations: 1.63 MB / 7.192 GB, free: 65.22 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008582/29.31, allocations: 2.876 MB / 7.195 GB, free: 63.83 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008327/29.32, allocations: 2.025 MB / 7.196 GB, free: 63.78 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.984e-05/29.32, allocations: 8.906 kB / 7.196 GB, free: 63.78 MB / 1.089 GB Notification: Performance of matching and sorting (n=473) (initialization): time 0.02507/29.35, allocations: 5.417 MB / 7.202 GB, free: 63.32 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.00317/29.35, allocations: 13.37 MB / 7.215 GB, free: 49.66 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/29.35, allocations: 26.5 kB / 7.215 GB, free: 49.66 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006259/29.36, allocations: 0.6849 MB / 7.216 GB, free: 49.62 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007868/29.36, allocations: 0.8568 MB / 7.216 GB, free: 49.62 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/29.37, allocations: 5.836 MB / 7.222 GB, free: 45.51 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/29.39, allocations: 0.4987 MB / 7.223 GB, free: 45.46 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/29.39, allocations: 195.1 kB / 7.223 GB, free: 45.46 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/29.39, allocations: 6.469 kB / 7.223 GB, free: 45.46 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02114/29.41, allocations: 4.842 MB / 7.227 GB, free: 45.33 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/29.41, allocations: 31.19 kB / 7.228 GB, free: 45.33 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006065/29.41, allocations: 0.7113 MB / 7.228 GB, free: 45.29 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007596/29.42, allocations: 0.8318 MB / 7.229 GB, free: 45.29 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/29.43, allocations: 5.85 MB / 7.235 GB, free: 41.17 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/29.44, allocations: 468.6 kB / 7.235 GB, free: 41.15 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/29.44, allocations: 182.7 kB / 7.235 GB, free: 41.15 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (443): * Single equations (assignments): 434 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006647/29.45, allocations: 1.62 MB / 7.237 GB, free: 40.94 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00313/29.45, allocations: 0.5802 MB / 7.237 GB, free: 40.63 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02414/29.48, allocations: 4.813 MB / 7.242 GB, free: 40.31 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.801e-05/29.48, allocations: 37.92 kB / 7.242 GB, free: 40.31 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/29.48, allocations: 0 / 7.242 GB, free: 40.31 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01701/29.5, allocations: 3.747 MB / 7.246 GB, free: 39.98 MB / 1.089 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 postOpt removeSimpleEquations (simulation): time 0.0403/29.54, allocations: 10.05 MB / 7.256 GB, free: 39.14 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/29.54, allocations: 7.062 kB / 7.256 GB, free: 39.14 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006326/29.54, allocations: 0.6107 MB / 7.256 GB, free: 39.14 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/29.55, allocations: 485.8 kB / 7.257 GB, free: 39.07 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009338/29.55, allocations: 93.2 kB / 7.257 GB, free: 39.07 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/29.56, allocations: 11.7 MB / 7.268 GB, free: 29.23 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/29.56, allocations: 7.188 kB / 7.268 GB, free: 29.23 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/29.59, allocations: 7.253 MB / 7.275 GB, free: 27.7 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005762/29.59, allocations: 1.174 MB / 7.277 GB, free: 27.28 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/29.59, allocations: 68.05 kB / 7.277 GB, free: 27.28 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009529/29.6, allocations: 411.8 kB / 7.277 GB, free: 27.27 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/29.61, allocations: 234.6 kB / 7.277 GB, free: 27.26 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007295/29.61, allocations: 142.8 kB / 7.277 GB, free: 27.26 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01089/29.62, allocations: 3.667 MB / 7.281 GB, free: 27.04 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.71e-07/29.62, allocations: 0 / 7.281 GB, free: 27.04 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02345/29.64, allocations: 3.889 MB / 7.285 GB, free: 26.56 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.04087/29.68, allocations: 15.37 MB / 7.3 GB, free: 20.86 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02895/29.71, allocations: 7.264 MB / 7.307 GB, free: 20.22 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/29.71, allocations: 6.531 kB / 7.307 GB, free: 20.21 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.008545/29.72, allocations: 2.762 MB / 7.31 GB, free: 19.42 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02303/29.74, allocations: 2.762 MB / 7.312 GB, free: 19.35 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05816/29.8, allocations: 36.82 MB / 7.348 GB, free: 7.848 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007955/29.81, allocations: 3.796 MB / 7.352 GB, free: 6.988 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0156/29.82, allocations: 2.025 MB / 7.354 GB, free: 6.934 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008011/29.83, allocations: 2.82 MB / 7.357 GB, free: 6.926 MB / 1.104 GB Notification: Performance of SimCode: time 9.11e-07/29.83, allocations: 0 / 7.357 GB, free: 6.926 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.554/31.39, allocations: 236.5 MB / 7.588 GB, free: 111.6 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/31.39, allocations: 234.7 kB / 7.588 GB, free: 111.4 MB / 1.12 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_Examples_SimpleHouse.o Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse.c In file included from Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse_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_Examples_SimpleHouse_functions.o Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse_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_Examples_SimpleHouse_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse_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_Examples_SimpleHouse_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Examples_SimpleHouse_functions.o] Error 1