Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.117/2.117, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.001007/0.001007, allocations: 181.2 kB / 490.8 MB, free: 2.004 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.577/1.577, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 102 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7484/0.7494, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/1.102, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/2.277, allocations: 429.2 MB / 1.631 GB, free: 2.871 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/2.277, allocations: 98.8 kB / 1.631 GB, free: 2.82 MB / 1.042 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 4.51/6.787, allocations: 1.125 GB / 2.756 GB, free: 171.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/6.787, allocations: 7.156 kB / 2.756 GB, free: 171.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/6.788, allocations: 267.5 kB / 2.756 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/6.793, allocations: 1.685 MB / 2.758 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/6.793, allocations: 37.31 kB / 2.758 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/6.793, allocations: 94.28 kB / 2.758 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001678/6.795, allocations: 0.9108 MB / 2.759 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/6.796, allocations: 0.9343 MB / 2.76 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/6.796, allocations: 0 / 2.76 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/6.796, allocations: 0.5625 kB / 2.76 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/6.797, allocations: 29.66 kB / 2.76 GB, free: 171.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008968/6.805, allocations: 6.015 MB / 2.766 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/6.806, allocations: 0.566 MB / 2.766 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/6.807, allocations: 368.8 kB / 2.767 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/6.807, allocations: 0.5074 MB / 2.767 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/6.807, allocations: 37.5 kB / 2.767 GB, free: 167.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=58): time 3.707e-06/6.807, allocations: 3.906 kB / 2.767 GB, free: 167.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=58): time 0.002055/6.809, allocations: 0.8556 MB / 2.768 GB, free: 167.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/6.809, allocations: 57.28 kB / 2.768 GB, free: 167.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/6.811, allocations: 1.331 MB / 2.77 GB, free: 167.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/6.812, allocations: 29.05 kB / 2.77 GB, free: 167.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/6.812, allocations: 0.595 MB / 2.77 GB, free: 167.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/6.812, allocations: 199.8 kB / 2.77 GB, free: 167 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/6.812, allocations: 4.188 kB / 2.77 GB, free: 167 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/6.812, allocations: 346.9 kB / 2.771 GB, free: 166.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/6.813, allocations: 389.4 kB / 2.771 GB, free: 166.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/6.814, allocations: 0.7208 MB / 2.772 GB, free: 166.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/6.815, allocations: 0.4886 MB / 2.772 GB, free: 166.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/6.815, allocations: 0 / 2.772 GB, free: 166.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002201/6.817, allocations: 1.262 MB / 2.773 GB, free: 166.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/6.817, allocations: 0.919 MB / 2.774 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/6.817, allocations: 1.938 kB / 2.774 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/6.817, allocations: 7.875 kB / 2.774 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/6.818, allocations: 277.7 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/6.818, allocations: 6.312 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/6.821, allocations: 185.7 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/6.821, allocations: 61.02 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/6.821, allocations: 3.719 kB / 2.775 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002114/6.824, allocations: 0.9836 MB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/6.824, allocations: 3.094 kB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/6.824, allocations: 10.84 kB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/6.825, allocations: 274.2 kB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/6.825, allocations: 7.688 kB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/6.827, allocations: 159 kB / 2.776 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/6.827, allocations: 57.14 kB / 2.776 GB, free: 165.1 MB / 1.167 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 (140): * Single equations (assignments): 140 * 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.000234/6.827, allocations: 128.6 kB / 2.776 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/6.827, allocations: 178.2 kB / 2.777 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/6.829, allocations: 1.05 MB / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/6.83, allocations: 14.92 kB / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/6.83, allocations: 3.562 kB / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/6.83, allocations: 3.891 kB / 2.778 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/6.834, allocations: 2.226 MB / 2.78 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/6.834, allocations: 6.344 kB / 2.78 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/6.834, allocations: 135.2 kB / 2.78 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/6.834, allocations: 4.156 kB / 2.78 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/6.835, allocations: 10.78 kB / 2.78 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/6.835, allocations: 6.406 kB / 2.78 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/6.835, allocations: 3.938 kB / 2.78 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001657/6.836, allocations: 1.101 MB / 2.781 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001735/6.838, allocations: 1.594 MB / 2.783 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007615/6.839, allocations: 356.7 kB / 2.783 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/6.839, allocations: 3.469 kB / 2.783 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/6.84, allocations: 101.8 kB / 2.783 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/6.84, allocations: 50.56 kB / 2.783 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/6.84, allocations: 27.7 kB / 2.783 GB, free: 162.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001342/6.842, allocations: 0.9755 MB / 2.784 GB, free: 162.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004372/6.846, allocations: 1.245 MB / 2.785 GB, free: 162.7 MB / 1.167 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.001702/6.848, allocations: 0.9897 MB / 2.786 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002777/6.85, allocations: 1.548 MB / 2.788 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/6.851, allocations: 0 / 2.788 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004461/6.851, allocations: 389.4 kB / 2.788 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004471/6.855, allocations: 0.8801 MB / 2.789 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/6.861, allocations: 2.278 MB / 2.791 GB, free: 161.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/6.862, allocations: 1.626 MB / 2.793 GB, free: 160.9 MB / 1.167 GB Notification: Performance of SimCode: time 9.61e-07/6.862, allocations: 0 / 2.793 GB, free: 160.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)