Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.612/2.612, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001655, allocations: 185.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 89.77 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.281e-05/1.297e-05, allocations: 4 kB / 0.8503 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.5838, allocations: 115.2 MB / 0.9628 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.601, allocations: 431.4 MB / 1.384 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.602, allocations: 101.6 kB / 1.384 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.588/6.189, allocations: 0.9712 GB / 2.355 GB, free: 116.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004836/6.19, allocations: 80.22 kB / 2.355 GB, free: 116.5 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.008005/6.198, allocations: 2.54 MB / 2.358 GB, free: 115.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/6.198, allocations: 9.969 kB / 2.358 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/6.2, allocations: 319.5 kB / 2.358 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/6.208, allocations: 2.433 MB / 2.361 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/6.208, allocations: 49.72 kB / 2.361 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003816/6.208, allocations: 104.1 kB / 2.361 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00322/6.212, allocations: 0.9873 MB / 2.362 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/6.215, allocations: 1.324 MB / 2.363 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/6.215, allocations: 1.219 kB / 2.363 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/6.215, allocations: 5.875 kB / 2.363 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/6.216, allocations: 37.81 kB / 2.363 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/6.231, allocations: 8.007 MB / 2.371 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009893/6.232, allocations: 407.8 kB / 2.371 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/6.233, allocations: 323.2 kB / 2.372 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007226/6.233, allocations: 0.752 MB / 2.372 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/6.233, allocations: 48.28 kB / 2.372 GB, free: 110.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.027e-06/6.233, allocations: 3.625 kB / 2.372 GB, free: 110.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002582/6.236, allocations: 0.7294 MB / 2.373 GB, free: 109.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/6.236, allocations: 61.31 kB / 2.373 GB, free: 109.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/6.24, allocations: 1.668 MB / 2.375 GB, free: 109.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003527/6.24, allocations: 29.64 kB / 2.375 GB, free: 109.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/6.241, allocations: 0.7497 MB / 2.375 GB, free: 109.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/6.241, allocations: 201.4 kB / 2.376 GB, free: 109.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/6.241, allocations: 0 / 2.376 GB, free: 109.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/6.241, allocations: 356.5 kB / 2.376 GB, free: 108.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008535/6.242, allocations: 308.7 kB / 2.376 GB, free: 108.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/6.243, allocations: 0.7563 MB / 2.377 GB, free: 108.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/6.245, allocations: 459.9 kB / 2.377 GB, free: 108.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/6.245, allocations: 0 / 2.377 GB, free: 108.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003495/6.248, allocations: 1.133 MB / 2.379 GB, free: 108.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007295/6.249, allocations: 3.146 MB / 2.382 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/6.249, allocations: 11.97 kB / 2.382 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.806e-05/6.249, allocations: 19.22 kB / 2.382 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/6.252, allocations: 254.5 kB / 2.382 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/6.252, allocations: 24.2 kB / 2.382 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/6.255, allocations: 198.8 kB / 2.382 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/6.255, allocations: 53.59 kB / 2.382 GB, free: 104.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/6.255, allocations: 6.688 kB / 2.382 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002609/6.258, allocations: 0.8601 MB / 2.383 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/6.258, allocations: 7.625 kB / 2.383 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/6.258, allocations: 13.81 kB / 2.383 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/6.26, allocations: 254.7 kB / 2.383 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/6.26, allocations: 17.94 kB / 2.383 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/6.263, allocations: 171.8 kB / 2.383 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/6.263, allocations: 54.61 kB / 2.384 GB, free: 104.7 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.0003765/6.264, allocations: 137.2 kB / 2.384 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004979/6.264, allocations: 207 kB / 2.384 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/6.267, allocations: 0.8533 MB / 2.385 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/6.267, allocations: 9.406 kB / 2.385 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/6.267, allocations: 2.938 kB / 2.385 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/6.269, allocations: 0.6601 MB / 2.385 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00689/6.276, allocations: 2.421 MB / 2.388 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/6.276, allocations: 8.656 kB / 2.388 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/6.277, allocations: 148.2 kB / 2.388 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/6.277, allocations: 0 / 2.388 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/6.277, allocations: 9.812 kB / 2.388 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/6.277, allocations: 6.531 kB / 2.388 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/6.277, allocations: 3.938 kB / 2.388 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003122/6.28, allocations: 1.289 MB / 2.389 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/6.282, allocations: 426.3 kB / 2.39 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/6.282, allocations: 3.406 kB / 2.39 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/6.286, allocations: 151.5 kB / 2.39 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/6.286, allocations: 52.3 kB / 2.39 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/6.286, allocations: 36 kB / 2.39 GB, free: 103.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002959/6.289, allocations: 1.226 MB / 2.391 GB, free: 103.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005635/6.295, allocations: 1.226 MB / 2.392 GB, free: 102.9 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.002853/6.298, allocations: 1.187 MB / 2.393 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003446/6.301, allocations: 1.323 MB / 2.395 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/6.301, allocations: 0 / 2.395 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/6.302, allocations: 312.9 kB / 2.395 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/6.314, allocations: 1.242 MB / 2.396 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/6.323, allocations: 2.834 MB / 2.399 GB, free: 101.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/6.325, allocations: 1.821 MB / 2.401 GB, free: 101.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/6.325, allocations: 0 / 2.401 GB, free: 101.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1248/6.45, allocations: 48.77 MB / 2.448 GB, free: 99.33 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)