Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 249.4 MB / 256.7 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009391/0.0009389, allocations: 185.2 kB / 316 MB, free: 3.602 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.2 MB / 0.5667 GB, free: 15.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008233, allocations: 96.38 kB / 0.671 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3097/0.3106, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.4683, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9668/1.435, allocations: 423.5 MB / 1.298 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.435, allocations: 99.06 kB / 1.298 GB, free: 259.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 3.113/4.548, allocations: 1.071 GB / 2.37 GB, free: 95.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/4.548, allocations: 10.72 kB / 2.37 GB, free: 95.61 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005225/4.549, allocations: 259.8 kB / 2.37 GB, free: 95.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/4.552, allocations: 1.653 MB / 2.372 GB, free: 95.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/4.552, allocations: 34.59 kB / 2.372 GB, free: 95.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/4.552, allocations: 89.88 kB / 2.372 GB, free: 95.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001479/4.554, allocations: 0.9061 MB / 2.373 GB, free: 95.01 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/4.555, allocations: 0.9357 MB / 2.373 GB, free: 94.94 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/4.555, allocations: 0 / 2.373 GB, free: 94.94 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/4.555, allocations: 0 / 2.373 GB, free: 94.94 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/4.555, allocations: 27.59 kB / 2.373 GB, free: 94.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007561/4.563, allocations: 5.971 MB / 2.379 GB, free: 92.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/4.564, allocations: 0.5601 MB / 2.38 GB, free: 92.26 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/4.564, allocations: 357.1 kB / 2.38 GB, free: 92.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/4.565, allocations: 0.5121 MB / 2.381 GB, free: 91.69 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/4.565, allocations: 37.41 kB / 2.381 GB, free: 91.65 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 2.465e-06/4.565, allocations: 0 / 2.381 GB, free: 91.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.001562/4.566, allocations: 0.8456 MB / 2.382 GB, free: 91.51 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/4.566, allocations: 63.28 kB / 2.382 GB, free: 91.45 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/4.568, allocations: 1.278 MB / 2.383 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/4.568, allocations: 28.95 kB / 2.383 GB, free: 91.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/4.568, allocations: 0.6004 MB / 2.383 GB, free: 90.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/4.568, allocations: 189.2 kB / 2.384 GB, free: 90.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/4.568, allocations: 0 / 2.384 GB, free: 90.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/4.568, allocations: 354.6 kB / 2.384 GB, free: 90.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/4.569, allocations: 392.4 kB / 2.384 GB, free: 90.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/4.57, allocations: 0.716 MB / 2.385 GB, free: 90.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/4.57, allocations: 0.5 MB / 2.386 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/4.57, allocations: 0 / 2.386 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001872/4.572, allocations: 1.265 MB / 2.387 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/4.572, allocations: 0.9166 MB / 2.388 GB, free: 88.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/4.572, allocations: 3.938 kB / 2.388 GB, free: 88.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/4.573, allocations: 3.969 kB / 2.388 GB, free: 88.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/4.574, allocations: 290.1 kB / 2.388 GB, free: 88.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/4.574, allocations: 12.53 kB / 2.388 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/4.575, allocations: 189.8 kB / 2.388 GB, free: 88.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/4.576, allocations: 61.97 kB / 2.388 GB, free: 88.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/4.576, allocations: 8.844 kB / 2.388 GB, free: 88.93 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/4.577, allocations: 0.996 MB / 2.389 GB, free: 88.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/4.577, allocations: 3.094 kB / 2.389 GB, free: 88.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/4.577, allocations: 6.844 kB / 2.389 GB, free: 88.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/4.578, allocations: 279.3 kB / 2.389 GB, free: 88.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/4.578, allocations: 13.64 kB / 2.389 GB, free: 88.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/4.58, allocations: 161.4 kB / 2.39 GB, free: 88.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/4.58, allocations: 61.83 kB / 2.39 GB, free: 88.86 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0002114/4.58, allocations: 133.8 kB / 2.39 GB, free: 88.75 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/4.58, allocations: 175.1 kB / 2.39 GB, free: 88.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/4.582, allocations: 1.043 MB / 2.391 GB, free: 88.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/4.583, allocations: 6.719 kB / 2.391 GB, free: 88.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/4.583, allocations: 0 / 2.391 GB, free: 88.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/4.583, allocations: 6.297 kB / 2.391 GB, free: 88.56 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/4.586, allocations: 2.191 MB / 2.393 GB, free: 88.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/4.586, allocations: 3.906 kB / 2.393 GB, free: 88.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/4.586, allocations: 140.4 kB / 2.393 GB, free: 88.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/4.586, allocations: 6.469 kB / 2.393 GB, free: 88.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/4.586, allocations: 15.08 kB / 2.393 GB, free: 88.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/4.586, allocations: 5.219 kB / 2.393 GB, free: 88.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/4.586, allocations: 0 / 2.393 GB, free: 88.18 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001265/4.588, allocations: 1.083 MB / 2.394 GB, free: 87.73 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001788/4.589, allocations: 1.574 MB / 2.396 GB, free: 86.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/4.59, allocations: 345.6 kB / 2.396 GB, free: 86.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/4.59, allocations: 7.062 kB / 2.396 GB, free: 86.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/4.591, allocations: 105.5 kB / 2.396 GB, free: 86.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/4.592, allocations: 47.23 kB / 2.396 GB, free: 86.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/4.592, allocations: 30 kB / 2.396 GB, free: 86.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001608/4.593, allocations: 0.935 MB / 2.397 GB, free: 86.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004617/4.598, allocations: 1.253 MB / 2.399 GB, free: 86.43 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.001394/4.599, allocations: 0.9984 MB / 2.4 GB, free: 86.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002281/4.602, allocations: 1.572 MB / 2.401 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/4.602, allocations: 0 / 2.401 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004368/4.602, allocations: 382.4 kB / 2.401 GB, free: 86.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004652/4.607, allocations: 0.9044 MB / 2.402 GB, free: 86.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/4.611, allocations: 2.235 MB / 2.405 GB, free: 85.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/4.613, allocations: 1.612 MB / 2.406 GB, free: 84.69 MB / 0.8855 GB Notification: Performance of SimCode: time 2.495e-06/4.613, allocations: 0 / 2.406 GB, free: 84.69 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)