Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [: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 8.0.1-maint.8.0.x/package.mo): time 1.48/1.48, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001279/0.001279, allocations: 193.2 kB / 361.1 MB, free: 7.094 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.368/1.368, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0009402/0.0009402, allocations: 85.62 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.035e-05/1.038e-05, allocations: 4 kB / 0.8511 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6418, allocations: 115.3 MB / 0.9637 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8002/1.442, allocations: 431.5 MB / 1.385 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.442, allocations: 97.75 kB / 1.385 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.911/4.353, allocations: 0.9712 GB / 2.356 GB, free: 116.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002795/4.354, allocations: 81.66 kB / 2.356 GB, free: 116.9 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004794/4.358, allocations: 2.546 MB / 2.359 GB, free: 116 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/4.358, allocations: 11.88 kB / 2.359 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/4.36, allocations: 321.5 kB / 2.359 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004688/4.364, allocations: 2.421 MB / 2.362 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/4.364, allocations: 45.38 kB / 2.362 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/4.364, allocations: 104.3 kB / 2.362 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001799/4.366, allocations: 0.992 MB / 2.363 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/4.368, allocations: 1.312 MB / 2.364 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/4.368, allocations: 4.875 kB / 2.364 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/4.369, allocations: 3.844 kB / 2.364 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/4.369, allocations: 42.31 kB / 2.364 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00895/4.378, allocations: 8.007 MB / 2.372 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/4.378, allocations: 410.2 kB / 2.372 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/4.378, allocations: 316.5 kB / 2.373 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004851/4.379, allocations: 0.7543 MB / 2.373 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/4.379, allocations: 41.78 kB / 2.373 GB, free: 110.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.525e-06/4.379, allocations: 0 / 2.373 GB, free: 110.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001549/4.381, allocations: 0.7344 MB / 2.374 GB, free: 110.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/4.381, allocations: 58.12 kB / 2.374 GB, free: 110.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/4.383, allocations: 1.673 MB / 2.376 GB, free: 110 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/4.383, allocations: 29.3 kB / 2.376 GB, free: 110 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/4.384, allocations: 0.7514 MB / 2.377 GB, free: 109.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/4.384, allocations: 205.1 kB / 2.377 GB, free: 109.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.522e-05/4.384, allocations: 5.75 kB / 2.377 GB, free: 109.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/4.384, allocations: 349.3 kB / 2.377 GB, free: 109.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/4.385, allocations: 306 kB / 2.377 GB, free: 109.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/4.385, allocations: 0.7629 MB / 2.378 GB, free: 108.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/4.386, allocations: 458 kB / 2.379 GB, free: 108.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/4.386, allocations: 0 / 2.379 GB, free: 108.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001976/4.388, allocations: 1.126 MB / 2.38 GB, free: 108.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005313/4.389, allocations: 3.155 MB / 2.383 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/4.389, allocations: 7.125 kB / 2.383 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/4.389, allocations: 21.75 kB / 2.383 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/4.39, allocations: 258.7 kB / 2.383 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/4.39, allocations: 15 kB / 2.383 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/4.392, allocations: 198.4 kB / 2.383 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/4.392, allocations: 56.95 kB / 2.383 GB, free: 105.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/4.392, allocations: 2.875 kB / 2.383 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/4.393, allocations: 0.8559 MB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/4.393, allocations: 13.28 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/4.393, allocations: 15.09 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/4.394, allocations: 252.6 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/4.394, allocations: 19.84 kB / 2.384 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/4.396, allocations: 172.9 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/4.396, allocations: 55.17 kB / 2.385 GB, free: 105 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002419/4.396, allocations: 136.3 kB / 2.385 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/4.397, allocations: 210.8 kB / 2.385 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/4.399, allocations: 0.8563 MB / 2.386 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/4.399, allocations: 6.938 kB / 2.386 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/4.399, allocations: 0 / 2.386 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009736/4.4, allocations: 0.6682 MB / 2.386 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/4.405, allocations: 2.417 MB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/4.405, allocations: 6.531 kB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/4.406, allocations: 144.5 kB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/4.406, allocations: 3.812 kB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/4.406, allocations: 11.11 kB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/4.406, allocations: 7.094 kB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/4.406, allocations: 3.938 kB / 2.389 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002096/4.408, allocations: 1.285 MB / 2.39 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/4.409, allocations: 435.8 kB / 2.391 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/4.409, allocations: 0 / 2.391 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/4.411, allocations: 153.3 kB / 2.391 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/4.411, allocations: 47.39 kB / 2.391 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/4.411, allocations: 33.7 kB / 2.391 GB, free: 103.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001926/4.413, allocations: 1.232 MB / 2.392 GB, free: 103.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00427/4.417, allocations: 1.215 MB / 2.393 GB, free: 103.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002065/4.42, allocations: 1.195 MB / 2.394 GB, free: 103 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002059/4.422, allocations: 1.32 MB / 2.396 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.422, allocations: 3.812 kB / 2.396 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/4.422, allocations: 311.5 kB / 2.396 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006662/4.429, allocations: 1.233 MB / 2.397 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/4.435, allocations: 2.84 MB / 2.4 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/4.437, allocations: 1.814 MB / 2.402 GB, free: 101.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/4.437, allocations: 0.75 kB / 2.402 GB, free: 101.4 MB / 0.948 GB Notification: Performance of Templates: time 0.07369/4.511, allocations: 48.77 MB / 2.449 GB, free: 99.66 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)