Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8953/0.8953, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002579/0.002579, allocations: 185.2 kB / 164.4 MB, free: 6.859 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.00107, allocations: 87.73 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3565/0.3576, allocations: 82.89 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.5456, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.245/1.791, allocations: 391.6 MB / 1.003 GB, free: 91.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.791, allocations: 100.3 kB / 1.004 GB, free: 90.96 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 4.017/5.808, allocations: 1.068 GB / 2.071 GB, free: 39.39 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/5.808, allocations: 8 kB / 2.071 GB, free: 39.38 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/5.81, allocations: 257 kB / 2.071 GB, free: 39.13 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/5.816, allocations: 1.649 MB / 2.073 GB, free: 37.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/5.816, allocations: 36 kB / 2.073 GB, free: 37.42 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004913/5.817, allocations: 84 kB / 2.073 GB, free: 37.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002155/5.819, allocations: 0.8903 MB / 2.074 GB, free: 36.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/5.821, allocations: 0.9167 MB / 2.075 GB, free: 35.51 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/5.821, allocations: 0 / 2.075 GB, free: 35.51 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/5.822, allocations: 7.844 kB / 2.075 GB, free: 35.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/5.822, allocations: 28 kB / 2.075 GB, free: 35.47 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/5.832, allocations: 6.335 MB / 2.081 GB, free: 28.66 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/5.833, allocations: 0.5236 MB / 2.082 GB, free: 28.13 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/5.834, allocations: 310.9 kB / 2.082 GB, free: 27.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/5.834, allocations: 12.5 kB / 2.082 GB, free: 27.82 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/5.834, allocations: 43 kB / 2.082 GB, free: 27.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 2.294e-06/5.834, allocations: 0 / 2.082 GB, free: 27.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.004001/5.838, allocations: 1.114 MB / 2.083 GB, free: 26.64 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/5.838, allocations: 59.84 kB / 2.083 GB, free: 26.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/5.841, allocations: 1.288 MB / 2.084 GB, free: 25.25 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002891/5.841, allocations: 29.7 kB / 2.084 GB, free: 25.21 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/5.841, allocations: 0.6014 MB / 2.085 GB, free: 24.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/5.842, allocations: 165.6 kB / 2.085 GB, free: 24.43 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/5.842, allocations: 0 / 2.085 GB, free: 24.43 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/5.842, allocations: 354.5 kB / 2.086 GB, free: 24.08 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006991/5.843, allocations: 434.5 kB / 2.086 GB, free: 23.65 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/5.843, allocations: 0.7519 MB / 2.087 GB, free: 22.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/5.845, allocations: 0.5273 MB / 2.087 GB, free: 22.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/5.845, allocations: 0 / 2.087 GB, free: 22.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002525/5.847, allocations: 1.336 MB / 2.089 GB, free: 20.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00023/5.847, allocations: 0.9174 MB / 2.089 GB, free: 19.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/5.847, allocations: 0 / 2.089 GB, free: 19.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/5.847, allocations: 8 kB / 2.089 GB, free: 19.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/5.849, allocations: 351.5 kB / 2.09 GB, free: 19.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/5.849, allocations: 15.92 kB / 2.09 GB, free: 19.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/5.852, allocations: 270.6 kB / 2.09 GB, free: 19.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/5.852, allocations: 67.88 kB / 2.09 GB, free: 19.22 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/5.852, allocations: 4 kB / 2.09 GB, free: 19.21 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001627/5.854, allocations: 0.9768 MB / 2.091 GB, free: 18.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/5.854, allocations: 0 / 2.091 GB, free: 18.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/5.854, allocations: 8 kB / 2.091 GB, free: 18.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/5.855, allocations: 271.9 kB / 2.091 GB, free: 17.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/5.855, allocations: 11.92 kB / 2.091 GB, free: 17.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/5.857, allocations: 155.2 kB / 2.092 GB, free: 17.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/5.857, allocations: 63.94 kB / 2.092 GB, free: 17.74 MB / 0.6667 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 (143): * Single equations (assignments): 143 * 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.0003229/5.858, allocations: 124.7 kB / 2.092 GB, free: 17.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/5.858, allocations: 169.8 kB / 2.092 GB, free: 17.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/5.86, allocations: 0.9469 MB / 2.093 GB, free: 16.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/5.86, allocations: 8 kB / 2.093 GB, free: 16.48 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/5.86, allocations: 0 / 2.093 GB, free: 16.48 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/5.86, allocations: 3.984 kB / 2.093 GB, free: 16.47 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/5.862, allocations: 1.21 MB / 2.094 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/5.862, allocations: 8 kB / 2.094 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/5.863, allocations: 183.1 kB / 2.094 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/5.863, allocations: 4 kB / 2.094 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/5.863, allocations: 7.984 kB / 2.094 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/5.863, allocations: 4 kB / 2.094 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/5.863, allocations: 3.984 kB / 2.094 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001292/5.864, allocations: 0.9179 MB / 2.095 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001668/5.866, allocations: 1.403 MB / 2.096 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/5.867, allocations: 262.7 kB / 2.097 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/5.867, allocations: 0 / 2.097 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/5.869, allocations: 163.6 kB / 2.097 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/5.869, allocations: 36.44 kB / 2.097 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/5.869, allocations: 27.97 kB / 2.097 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001367/5.87, allocations: 0.9312 MB / 2.098 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004928/5.875, allocations: 1.248 MB / 2.099 GB, free: 9.957 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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 Backend phase and start with SimCode phase: time 0.001555/5.877, allocations: 1.006 MB / 2.1 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002593/5.879, allocations: 1.597 MB / 2.102 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/5.879, allocations: 8.375 kB / 2.102 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000494/5.88, allocations: 357.7 kB / 2.102 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/5.885, allocations: 0.8952 MB / 2.103 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/5.913, allocations: 4.567 MB / 2.107 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/5.914, allocations: 1.591 MB / 2.109 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/5.914, allocations: 4 kB / 2.109 GB, free: 15.93 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)