Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 387.2 MB / 394.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 176.5 kB / 487 MB, free: 5.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009589/0.000959, allocations: 95 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.59/0.591, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.8468, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.888, allocations: 428.5 MB / 1.624 GB, free: 11.01 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/1.889, allocations: 99.44 kB / 1.624 GB, free: 10.96 MB / 1.057 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.755/5.644, allocations: 1.125 GB / 2.749 GB, free: 166.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/5.644, allocations: 12.94 kB / 2.749 GB, free: 166.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/5.644, allocations: 266.3 kB / 2.75 GB, free: 166.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/5.648, allocations: 1.686 MB / 2.751 GB, free: 165.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/5.648, allocations: 37.72 kB / 2.751 GB, free: 165.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/5.648, allocations: 88.56 kB / 2.751 GB, free: 165.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001589/5.65, allocations: 0.9188 MB / 2.752 GB, free: 165.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/5.651, allocations: 0.9332 MB / 2.753 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/5.651, allocations: 0 / 2.753 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/5.651, allocations: 0 / 2.753 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/5.652, allocations: 30 kB / 2.753 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/5.66, allocations: 6.008 MB / 2.759 GB, free: 163.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/5.661, allocations: 0.5728 MB / 2.76 GB, free: 163.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/5.661, allocations: 358 kB / 2.76 GB, free: 163.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/5.661, allocations: 0.5098 MB / 2.76 GB, free: 162.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/5.661, allocations: 38.16 kB / 2.76 GB, free: 162.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=58): time 2.705e-06/5.661, allocations: 0 / 2.76 GB, free: 162.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=58): time 0.00189/5.663, allocations: 0.8639 MB / 2.761 GB, free: 162.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/5.663, allocations: 55.75 kB / 2.761 GB, free: 162.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/5.665, allocations: 1.333 MB / 2.763 GB, free: 162 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/5.665, allocations: 28.92 kB / 2.763 GB, free: 162 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/5.665, allocations: 0.5914 MB / 2.763 GB, free: 161.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/5.666, allocations: 198.3 kB / 2.763 GB, free: 161.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/5.666, allocations: 0 / 2.763 GB, free: 161.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/5.666, allocations: 349.2 kB / 2.764 GB, free: 161.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/5.666, allocations: 397.7 kB / 2.764 GB, free: 161.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/5.667, allocations: 0.7186 MB / 2.765 GB, free: 160.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/5.668, allocations: 0.4994 MB / 2.765 GB, free: 160.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/5.668, allocations: 0 / 2.765 GB, free: 160.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002066/5.67, allocations: 1.272 MB / 2.767 GB, free: 160.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/5.67, allocations: 0.9164 MB / 2.768 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/5.67, allocations: 10.48 kB / 2.768 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/5.67, allocations: 7.75 kB / 2.768 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/5.672, allocations: 281.2 kB / 2.768 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/5.672, allocations: 11.84 kB / 2.768 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/5.674, allocations: 194.4 kB / 2.768 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/5.674, allocations: 59 kB / 2.768 GB, free: 159.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/5.674, allocations: 7.359 kB / 2.768 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001641/5.676, allocations: 1.008 MB / 2.769 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/5.676, allocations: 2.969 kB / 2.769 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/5.676, allocations: 7.594 kB / 2.769 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/5.677, allocations: 276.1 kB / 2.769 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/5.677, allocations: 10.5 kB / 2.769 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/5.679, allocations: 165 kB / 2.769 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/5.679, allocations: 67.8 kB / 2.77 GB, free: 159.7 MB / 1.151 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.0002361/5.679, allocations: 128 kB / 2.77 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/5.679, allocations: 180.7 kB / 2.77 GB, free: 159.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/5.682, allocations: 1.051 MB / 2.771 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/5.682, allocations: 6.25 kB / 2.771 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/5.682, allocations: 0 / 2.771 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/5.682, allocations: 7.234 kB / 2.771 GB, free: 159.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/5.685, allocations: 2.23 MB / 2.773 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/5.685, allocations: 6.266 kB / 2.773 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/5.686, allocations: 140.4 kB / 2.773 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/5.686, allocations: 7.391 kB / 2.773 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/5.686, allocations: 9.281 kB / 2.773 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/5.686, allocations: 7 kB / 2.773 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/5.686, allocations: 3.984 kB / 2.773 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001337/5.687, allocations: 1.101 MB / 2.774 GB, free: 158.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00157/5.689, allocations: 1.587 MB / 2.776 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/5.69, allocations: 364.7 kB / 2.776 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/5.69, allocations: 7.562 kB / 2.776 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/5.691, allocations: 103.9 kB / 2.776 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/5.691, allocations: 51.27 kB / 2.776 GB, free: 157.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/5.691, allocations: 18.28 kB / 2.776 GB, free: 157.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001246/5.692, allocations: 0.9717 MB / 2.777 GB, free: 157.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004671/5.697, allocations: 1.264 MB / 2.779 GB, free: 157.2 MB / 1.151 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.001628/5.699, allocations: 0.9928 MB / 2.78 GB, free: 157 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002429/5.701, allocations: 1.58 MB / 2.781 GB, free: 156.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/5.701, allocations: 0 / 2.781 GB, free: 156.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004735/5.702, allocations: 384.7 kB / 2.781 GB, free: 156.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/5.706, allocations: 0.8873 MB / 2.782 GB, free: 156.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/5.71, allocations: 2.288 MB / 2.785 GB, free: 156.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/5.711, allocations: 1.619 MB / 2.786 GB, free: 155.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/5.711, allocations: 0 / 2.786 GB, free: 155.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)