Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutletState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.4 MB / 139.7 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001182/0.001182, allocations: 173.3 kB / 171.6 MB, free: 1.996 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.549/1.549, allocations: 170.5 MB / 373.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001784/0.001784, allocations: 112 kB / 444.4 MB, free: 9.324 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5548/0.5548, allocations: 73.39 MB / 0.666 GB, free: 62.66 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7982/1.353, allocations: 335.5 MB / 0.9937 GB, free: 71.03 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.353, allocations: 80.95 kB / 0.9938 GB, free: 70.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.8648/2.218, allocations: 191.5 MB / 1.181 GB, free: 169.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001192/2.218, allocations: 20 kB / 1.181 GB, free: 169.8 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003211/2.222, allocations: 1.083 MB / 1.182 GB, free: 169 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/2.222, allocations: 8.031 kB / 1.182 GB, free: 169 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/2.226, allocations: 0.5767 MB / 1.182 GB, free: 169 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/2.228, allocations: 0.678 MB / 1.183 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/2.228, allocations: 18.97 kB / 1.183 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/2.229, allocations: 32.59 kB / 1.183 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/2.23, allocations: 0.5468 MB / 1.184 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/2.232, allocations: 0.8239 MB / 1.184 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/2.232, allocations: 4.906 kB / 1.184 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/2.232, allocations: 4.562 kB / 1.184 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/2.232, allocations: 22.84 kB / 1.184 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007277/2.24, allocations: 4.786 MB / 1.189 GB, free: 164.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/2.241, allocations: 419.2 kB / 1.19 GB, free: 164 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/2.241, allocations: 233.2 kB / 1.19 GB, free: 163.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/2.242, allocations: 0.821 MB / 1.191 GB, free: 162.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/2.243, allocations: 464.3 kB / 1.191 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 3.858e-06/2.243, allocations: 0 / 1.191 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004241/2.247, allocations: 0.9447 MB / 1.192 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/2.247, allocations: 350.6 kB / 1.192 GB, free: 162 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/2.248, allocations: 0.5064 MB / 1.193 GB, free: 161.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/2.248, allocations: 27.08 kB / 1.193 GB, free: 161.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/2.249, allocations: 348.9 kB / 1.193 GB, free: 161.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/2.249, allocations: 125.6 kB / 1.193 GB, free: 161.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/2.249, allocations: 1.375 kB / 1.193 GB, free: 161.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001505/2.249, allocations: 376.2 kB / 1.194 GB, free: 161 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/2.249, allocations: 246.8 kB / 1.194 GB, free: 160.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/2.25, allocations: 0.5067 MB / 1.194 GB, free: 160.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/2.253, allocations: 0.6817 MB / 1.195 GB, free: 160.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/2.253, allocations: 2.719 kB / 1.195 GB, free: 160.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004224/2.258, allocations: 1.157 MB / 1.196 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/2.258, allocations: 6.5 kB / 1.196 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/2.258, allocations: 6.422 kB / 1.196 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/2.258, allocations: 12.56 kB / 1.196 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/2.259, allocations: 232.2 kB / 1.196 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/2.259, allocations: 11.8 kB / 1.196 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/2.26, allocations: 182.8 kB / 1.197 GB, free: 160 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/2.26, allocations: 48.17 kB / 1.197 GB, free: 160 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003299/2.261, allocations: 234 kB / 1.197 GB, free: 159.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/2.261, allocations: 71.25 kB / 1.197 GB, free: 159.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/2.265, allocations: 1.406 MB / 1.198 GB, free: 159.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/2.265, allocations: 12.22 kB / 1.198 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/2.265, allocations: 0 / 1.198 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/2.265, allocations: 5.953 kB / 1.198 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/2.266, allocations: 0.6497 MB / 1.199 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/2.266, allocations: 1.922 kB / 1.199 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000915/2.267, allocations: 151.8 kB / 1.199 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/2.267, allocations: 3.906 kB / 1.199 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/2.267, allocations: 22.77 kB / 1.199 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/2.267, allocations: 0 / 1.199 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/2.267, allocations: 3.469 kB / 1.199 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002094/2.269, allocations: 0.7781 MB / 1.2 GB, free: 158.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/2.27, allocations: 177.7 kB / 1.2 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/2.27, allocations: 13.91 kB / 1.2 GB, free: 158.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/2.271, allocations: 128.3 kB / 1.2 GB, free: 158.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/2.272, allocations: 23.97 kB / 1.2 GB, free: 158.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/2.272, allocations: 32.06 kB / 1.2 GB, free: 158.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008975/2.273, allocations: 480 kB / 1.201 GB, free: 158.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001988/2.275, allocations: 354.7 kB / 1.201 GB, free: 158.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent) * Number of discrete states: 15 (TSetHeat.last,TSetHeat.nextEvent,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.last,TSetCool.nextEvent,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00191/2.277, allocations: 480.5 kB / 1.201 GB, free: 157.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001695/2.278, allocations: 0.6731 MB / 1.202 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/2.278, allocations: 0 / 1.202 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007279/2.279, allocations: 406.1 kB / 1.203 GB, free: 157.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/2.28, allocations: 178.8 kB / 1.203 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/2.284, allocations: 1.049 MB / 1.204 GB, free: 156.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/2.286, allocations: 1.111 MB / 1.205 GB, free: 155.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/2.286, allocations: 0 / 1.205 GB, free: 155.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.03965/2.325, allocations: 14.84 MB / 1.219 GB, free: 148.3 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutletState.pipe 2>&1)