Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.093/2.093, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001321/0.001321, allocations: 189.2 kB / 487 MB, free: 5.344 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.49/1.49, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0009498/0.0009501, allocations: 89.38 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5879/0.5889, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.8453, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9547/1.8, allocations: 396 MB / 1.592 GB, free: 10.91 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/1.8, allocations: 94.75 kB / 1.592 GB, free: 10.86 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 1.369/3.169, allocations: 418.1 MB / 2 GB, free: 160.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/3.169, allocations: 8 kB / 2 GB, free: 160.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/3.169, allocations: 110.7 kB / 2.001 GB, free: 160.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000962/3.17, allocations: 0.5742 MB / 2.001 GB, free: 159.8 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/3.17, allocations: 16 kB / 2.001 GB, free: 159.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/3.17, allocations: 36 kB / 2.001 GB, free: 159.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004352/3.171, allocations: 242 kB / 2.001 GB, free: 159.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/3.171, allocations: 308.5 kB / 2.002 GB, free: 159.2 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/3.171, allocations: 3.984 kB / 2.002 GB, free: 159.2 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/3.171, allocations: 0 / 2.002 GB, free: 159.2 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/3.171, allocations: 12 kB / 2.002 GB, free: 159.1 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/3.173, allocations: 1.778 MB / 2.003 GB, free: 157.2 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/3.174, allocations: 150.5 kB / 2.004 GB, free: 157.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/3.174, allocations: 65.53 kB / 2.004 GB, free: 157 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/3.174, allocations: 344.3 kB / 2.004 GB, free: 156.6 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/3.174, allocations: 38.56 kB / 2.004 GB, free: 156.6 MB / 1.135 GB Notification: Performance of pre-optimization done (n=19): time 2.114e-06/3.174, allocations: 3.938 kB / 2.004 GB, free: 156.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=19): time 0.0004961/3.175, allocations: 212.8 kB / 2.004 GB, free: 156.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/3.175, allocations: 51.41 kB / 2.004 GB, free: 156.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/3.175, allocations: 495.7 kB / 2.005 GB, free: 155.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/3.175, allocations: 29.7 kB / 2.005 GB, free: 155.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/3.175, allocations: 272.3 kB / 2.005 GB, free: 155.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/3.175, allocations: 59.11 kB / 2.005 GB, free: 155.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/3.175, allocations: 4 kB / 2.005 GB, free: 155.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/3.175, allocations: 374.8 kB / 2.005 GB, free: 155 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/3.176, allocations: 88.67 kB / 2.005 GB, free: 154.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/3.176, allocations: 193.1 kB / 2.006 GB, free: 154.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/3.176, allocations: 109.6 kB / 2.006 GB, free: 154.6 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/3.176, allocations: 0 / 2.006 GB, free: 154.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005682/3.177, allocations: 339.3 kB / 2.006 GB, free: 154.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/3.177, allocations: 271 kB / 2.006 GB, free: 154 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/3.177, allocations: 0 / 2.006 GB, free: 154 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/3.177, allocations: 4 kB / 2.006 GB, free: 154 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/3.178, allocations: 147.6 kB / 2.007 GB, free: 153.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009819/3.179, allocations: 2.403 MB / 2.009 GB, free: 151.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/3.179, allocations: 75.75 kB / 2.009 GB, free: 151.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/3.179, allocations: 19.98 kB / 2.009 GB, free: 151.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/3.179, allocations: 8 kB / 2.009 GB, free: 151.2 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004403/3.18, allocations: 235.8 kB / 2.009 GB, free: 151 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-06/3.18, allocations: 0 / 2.009 GB, free: 151 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/3.18, allocations: 4 kB / 2.009 GB, free: 151 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/3.18, allocations: 99.88 kB / 2.009 GB, free: 150.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/3.18, allocations: 4 kB / 2.009 GB, free: 150.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/3.181, allocations: 75.7 kB / 2.009 GB, free: 150.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/3.181, allocations: 12 kB / 2.009 GB, free: 150.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/3.181, allocations: 123.5 kB / 2.009 GB, free: 150.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/3.181, allocations: 59.25 kB / 2.01 GB, free: 150.6 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/3.182, allocations: 272.1 kB / 2.01 GB, free: 150.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/3.182, allocations: 0 / 2.01 GB, free: 150.4 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/3.182, allocations: 0 / 2.01 GB, free: 150.4 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/3.182, allocations: 0 / 2.01 GB, free: 150.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/3.183, allocations: 0.7906 MB / 2.011 GB, free: 149.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/3.183, allocations: 0 / 2.011 GB, free: 149.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/3.183, allocations: 75.88 kB / 2.011 GB, free: 149.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/3.183, allocations: 0 / 2.011 GB, free: 149.4 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/3.183, allocations: 8.109 kB / 2.011 GB, free: 149.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007134/3.184, allocations: 2.371 MB / 2.013 GB, free: 147 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/3.184, allocations: 3.906 kB / 2.013 GB, free: 147 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004052/3.185, allocations: 397 kB / 2.013 GB, free: 146.5 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005476/3.185, allocations: 0.8162 MB / 2.014 GB, free: 145.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/3.185, allocations: 168.1 kB / 2.014 GB, free: 145.5 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/3.185, allocations: 4 kB / 2.014 GB, free: 145.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/3.186, allocations: 47.94 kB / 2.014 GB, free: 145.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/3.186, allocations: 19.89 kB / 2.014 GB, free: 145.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/3.186, allocations: 8 kB / 2.014 GB, free: 145.4 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003261/3.186, allocations: 375.1 kB / 2.015 GB, free: 145 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002329/3.189, allocations: 499.1 kB / 2.015 GB, free: 144.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007755/3.189, allocations: 480.9 kB / 2.016 GB, free: 144.1 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001469/3.191, allocations: 445.1 kB / 2.016 GB, free: 143.6 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/3.191, allocations: 3.938 kB / 2.016 GB, free: 143.6 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/3.191, allocations: 127.7 kB / 2.016 GB, free: 143.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/3.193, allocations: 280.7 kB / 2.016 GB, free: 143.2 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/3.194, allocations: 0.7532 MB / 2.017 GB, free: 142.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/3.195, allocations: 0.9945 MB / 2.018 GB, free: 141.4 MB / 1.135 GB Notification: Performance of SimCode: time 8.72e-07/3.195, allocations: 0 / 2.018 GB, free: 141.4 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)