Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 289.8 MB / 297.1 MB, free: 6.707 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 185.2 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 87.42 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.327/0.328, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/1.121, allocations: 116.3 MB / 0.9727 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9711/2.092, allocations: 398.8 MB / 1.362 GB, free: 89.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/2.093, allocations: 90.66 kB / 1.362 GB, free: 89.23 MB / 0.823 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.425/3.517, allocations: 409.7 MB / 1.762 GB, free: 194.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/3.517, allocations: 12 kB / 1.762 GB, free: 194.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/3.518, allocations: 95.69 kB / 1.762 GB, free: 194.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/3.519, allocations: 0.5763 MB / 1.763 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/3.519, allocations: 16.75 kB / 1.763 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/3.519, allocations: 39.98 kB / 1.763 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000611/3.52, allocations: 246.7 kB / 1.763 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/3.52, allocations: 305.1 kB / 1.764 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/3.52, allocations: 0 / 1.764 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/3.521, allocations: 0.5 kB / 1.764 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/3.521, allocations: 12.66 kB / 1.764 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/3.523, allocations: 1.771 MB / 1.765 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/3.524, allocations: 150.5 kB / 1.765 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/3.524, allocations: 68.78 kB / 1.766 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/3.524, allocations: 345 kB / 1.766 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/3.524, allocations: 38.56 kB / 1.766 GB, free: 190.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.865e-06/3.524, allocations: 0 / 1.766 GB, free: 190.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005936/3.525, allocations: 212.8 kB / 1.766 GB, free: 190.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/3.525, allocations: 51.41 kB / 1.766 GB, free: 190.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/3.525, allocations: 483.6 kB / 1.767 GB, free: 189.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/3.525, allocations: 25.7 kB / 1.767 GB, free: 189.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/3.526, allocations: 284.3 kB / 1.767 GB, free: 189.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/3.526, allocations: 70.95 kB / 1.767 GB, free: 189.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/3.526, allocations: 0 / 1.767 GB, free: 189.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001205/3.526, allocations: 366.8 kB / 1.767 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/3.526, allocations: 88.67 kB / 1.767 GB, free: 189 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/3.526, allocations: 193.8 kB / 1.768 GB, free: 188.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/3.526, allocations: 109.5 kB / 1.768 GB, free: 188.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/3.526, allocations: 0 / 1.768 GB, free: 188.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005637/3.527, allocations: 334.7 kB / 1.768 GB, free: 188.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/3.527, allocations: 279 kB / 1.768 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/3.527, allocations: 3.984 kB / 1.768 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/3.527, allocations: 7.906 kB / 1.768 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/3.528, allocations: 139.8 kB / 1.768 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/3.529, allocations: 2.399 MB / 1.771 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/3.53, allocations: 67.91 kB / 1.771 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/3.53, allocations: 23.98 kB / 1.771 GB, free: 185.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/3.53, allocations: 4 kB / 1.771 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004475/3.531, allocations: 232 kB / 1.771 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/3.531, allocations: 0 / 1.771 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/3.531, allocations: 0 / 1.771 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/3.531, allocations: 106.7 kB / 1.771 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/3.531, allocations: 4 kB / 1.771 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/3.532, allocations: 75.61 kB / 1.771 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/3.532, allocations: 16 kB / 1.771 GB, free: 184.9 MB / 0.948 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 0.0001209/3.532, allocations: 116.8 kB / 1.771 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/3.532, allocations: 63.19 kB / 1.771 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/3.533, allocations: 272.6 kB / 1.772 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/3.533, allocations: 4 kB / 1.772 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/3.533, allocations: 0 / 1.772 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/3.533, allocations: 0 / 1.772 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/3.534, allocations: 0.7816 MB / 1.772 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/3.534, allocations: 3.906 kB / 1.772 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/3.534, allocations: 83.72 kB / 1.773 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/3.534, allocations: 128 / 1.773 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/3.534, allocations: 12 kB / 1.773 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000815/3.535, allocations: 2.36 MB / 1.775 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/3.535, allocations: 3.984 kB / 1.775 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004042/3.536, allocations: 403.7 kB / 1.775 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005201/3.536, allocations: 0.8111 MB / 1.776 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/3.536, allocations: 160.3 kB / 1.776 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/3.536, allocations: 0 / 1.776 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/3.537, allocations: 59.78 kB / 1.776 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/3.537, allocations: 19.67 kB / 1.776 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/3.537, allocations: 7.984 kB / 1.776 GB, free: 179.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003589/3.537, allocations: 367.2 kB / 1.777 GB, free: 179.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002705/3.54, allocations: 499 kB / 1.777 GB, free: 178.6 MB / 0.948 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.0009305/3.541, allocations: 471.8 kB / 1.778 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001485/3.542, allocations: 447.4 kB / 1.778 GB, free: 177.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/3.542, allocations: 0 / 1.778 GB, free: 177.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/3.543, allocations: 119.9 kB / 1.778 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/3.544, allocations: 287.4 kB / 1.778 GB, free: 177.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/3.546, allocations: 0.7424 MB / 1.779 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/3.547, allocations: 1.002 MB / 1.78 GB, free: 175.6 MB / 0.948 GB Notification: Performance of SimCode: time 3e-07/3.547, allocations: 0 / 1.78 GB, free: 175.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)