Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.SimpleHouse.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.Examples.SimpleHouse,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_SimpleHouse",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 2.09/2.09, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001183/0.001183, allocations: 177 kB / 377.1 MB, free: 1.539 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.666/1.666, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0008769/0.0008768, allocations: 99.75 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 12 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.375/6.666, allocations: 2.412 GB / 3.401 GB, free: 165.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/6.666, allocations: 96.61 kB / 3.401 GB, free: 165.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.64/22.31, allocations: 3.712 GB / 7.113 GB, free: 73.25 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.405e-06/22.31, allocations: 0 / 7.113 GB, free: 73.25 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002045/22.31, allocations: 182.1 kB / 7.113 GB, free: 73.22 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.03538/22.35, allocations: 8.212 MB / 7.121 GB, free: 69.89 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/22.35, allocations: 13 kB / 7.121 GB, free: 69.89 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004058/22.35, allocations: 0.6298 MB / 7.122 GB, free: 69.82 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/22.37, allocations: 2.628 MB / 7.125 GB, free: 69.41 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02783/22.4, allocations: 7.816 MB / 7.132 GB, free: 68.37 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/22.4, allocations: 374.7 kB / 7.133 GB, free: 68.36 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/22.4, allocations: 495.8 kB / 7.133 GB, free: 68.36 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/22.42, allocations: 6.017 MB / 7.139 GB, free: 67.56 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/22.42, allocations: 11.38 kB / 7.139 GB, free: 67.56 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/22.42, allocations: 199.5 kB / 7.139 GB, free: 67.56 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/22.42, allocations: 192.6 kB / 7.139 GB, free: 67.55 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/22.43, allocations: 5.508 MB / 7.145 GB, free: 67.5 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.05888/22.49, allocations: 26.7 MB / 7.171 GB, free: 55.17 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/22.5, allocations: 4.201 MB / 7.175 GB, free: 55.09 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.02736/22.53, allocations: 8.1 MB / 7.183 GB, free: 53.55 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006341/22.54, allocations: 2.153 MB / 7.185 GB, free: 53.41 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005604/22.54, allocations: 489.4 kB / 7.185 GB, free: 53.26 MB / 1.089 GB Notification: Performance of pre-optimization done (n=298): time 2.343e-05/22.54, allocations: 0 / 7.185 GB, free: 53.26 MB / 1.089 GB Notification: Performance of matching and sorting (n=298): time 0.02148/22.57, allocations: 6.652 MB / 7.192 GB, free: 51.85 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/22.57, allocations: 457.5 kB / 7.192 GB, free: 51.34 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01472/22.58, allocations: 4.714 MB / 7.197 GB, free: 50.95 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001417/22.58, allocations: 95.05 kB / 7.197 GB, free: 50.91 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.005509/22.59, allocations: 2.991 MB / 7.2 GB, free: 50.02 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.002667/22.59, allocations: 1.015 MB / 7.201 GB, free: 49.37 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/22.59, allocations: 72.66 kB / 7.201 GB, free: 49.37 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0006677/22.59, allocations: 456.2 kB / 7.201 GB, free: 49.06 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/22.6, allocations: 1.63 MB / 7.203 GB, free: 49.05 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007313/22.61, allocations: 2.87 MB / 7.206 GB, free: 47.66 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/22.61, allocations: 2.035 MB / 7.208 GB, free: 47.61 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.252e-05/22.61, allocations: 10.16 kB / 7.208 GB, free: 47.61 MB / 1.089 GB Notification: Performance of matching and sorting (n=473) (initialization): time 0.0178/22.63, allocations: 5.419 MB / 7.213 GB, free: 47.15 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.003966/22.63, allocations: 13.36 MB / 7.226 GB, free: 33.49 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/22.63, allocations: 31.75 kB / 7.226 GB, free: 33.49 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/22.64, allocations: 0.6861 MB / 7.227 GB, free: 33.45 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/22.64, allocations: 0.8607 MB / 7.228 GB, free: 33.45 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/22.65, allocations: 5.836 MB / 7.233 GB, free: 29.32 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009152/22.66, allocations: 0.4949 MB / 7.234 GB, free: 29.29 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/22.66, allocations: 193.9 kB / 7.234 GB, free: 29.29 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/22.66, allocations: 8.219 kB / 7.234 GB, free: 29.29 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01577/22.68, allocations: 4.842 MB / 7.239 GB, free: 29.15 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/22.68, allocations: 30.78 kB / 7.239 GB, free: 29.15 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/22.68, allocations: 0.7098 MB / 7.239 GB, free: 29.11 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/22.69, allocations: 0.8358 MB / 7.24 GB, free: 29.11 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/22.69, allocations: 5.848 MB / 7.246 GB, free: 24.98 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008212/22.7, allocations: 470.2 kB / 7.246 GB, free: 24.96 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/22.7, allocations: 184 kB / 7.247 GB, free: 24.96 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.00677/22.71, allocations: 1.619 MB / 7.248 GB, free: 24.75 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002983/22.71, allocations: 0.5748 MB / 7.249 GB, free: 24.45 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/22.73, allocations: 4.82 MB / 7.253 GB, free: 24.13 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/22.73, allocations: 31.34 kB / 7.253 GB, free: 24.13 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/22.73, allocations: 2.156 kB / 7.253 GB, free: 24.13 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/22.74, allocations: 3.742 MB / 7.257 GB, free: 23.8 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.03309/22.77, allocations: 10.05 MB / 7.267 GB, free: 22.96 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/22.77, allocations: 2.625 kB / 7.267 GB, free: 22.96 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/22.78, allocations: 0.612 MB / 7.268 GB, free: 22.96 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/22.78, allocations: 488.6 kB / 7.268 GB, free: 22.89 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006823/22.78, allocations: 94.08 kB / 7.268 GB, free: 22.89 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/22.79, allocations: 11.71 MB / 7.28 GB, free: 29.04 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/22.79, allocations: 3.844 kB / 7.28 GB, free: 29.04 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/22.81, allocations: 7.255 MB / 7.287 GB, free: 27.51 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007097/22.81, allocations: 1.174 MB / 7.288 GB, free: 27.1 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003486/22.82, allocations: 67.97 kB / 7.288 GB, free: 27.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008269/22.83, allocations: 408.6 kB / 7.288 GB, free: 27.08 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001219/22.83, allocations: 231 kB / 7.288 GB, free: 27.07 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001095/22.83, allocations: 147.5 kB / 7.289 GB, free: 27.07 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01174/22.84, allocations: 3.669 MB / 7.292 GB, free: 26.86 MB / 1.104 GB Notification: Performance of sort global known variables: time 6.21e-07/22.84, allocations: 0 / 7.292 GB, free: 26.86 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02386/22.86, allocations: 3.884 MB / 7.296 GB, free: 26.38 MB / 1.104 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.03453/22.9, allocations: 15.36 MB / 7.311 GB, free: 20.61 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02091/22.92, allocations: 7.27 MB / 7.318 GB, free: 19.97 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/22.92, allocations: 3.75 kB / 7.318 GB, free: 19.96 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.00623/22.93, allocations: 2.764 MB / 7.321 GB, free: 19.16 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01711/22.94, allocations: 2.761 MB / 7.323 GB, free: 19.08 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06421/23.01, allocations: 36.84 MB / 7.359 GB, free: 7.188 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008758/23.02, allocations: 3.788 MB / 7.363 GB, free: 6.258 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.01429/23.03, allocations: 2.027 MB / 7.365 GB, free: 5.98 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008342/23.04, allocations: 2.816 MB / 7.368 GB, free: 4.336 MB / 1.12 GB Notification: Performance of SimCode: time 2.444e-06/23.04, allocations: 0 / 7.368 GB, free: 4.336 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.418/24.46, allocations: 236.4 MB / 7.599 GB, free: 102.7 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/24.46, allocations: 236.1 kB / 7.599 GB, free: 102.5 MB / 1.12 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_Examples_SimpleHouse.o Buildings_8_Buildings_Fluid_Examples_SimpleHouse.c In file included from Buildings_8_Buildings_Fluid_Examples_SimpleHouse.c:7: In file included from ./Buildings_8_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 -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_Examples_SimpleHouse_functions.o Buildings_8_Buildings_Fluid_Examples_SimpleHouse_functions.c In file included from Buildings_8_Buildings_Fluid_Examples_SimpleHouse_functions.c:2: In file included from ./Buildings_8_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_Buildings_Fluid_Examples_SimpleHouse_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Examples_SimpleHouse_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_Examples_SimpleHouse_functions.o] Error 1