Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.465/2.465, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001623/0.001623, allocations: 177.3 kB / 360.3 MB, free: 7.562 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.938/1.938, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001265/0.001265, allocations: 87.23 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3144/0.3157, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/1.006, allocations: 115.2 MB / 0.9627 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/2.152, allocations: 397.7 MB / 1.351 GB, free: 170 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/2.153, allocations: 95.12 kB / 1.351 GB, free: 170 MB / 0.8542 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.993/4.146, allocations: 409.7 MB / 1.751 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/4.146, allocations: 7.688 kB / 1.751 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/4.146, allocations: 96.97 kB / 1.751 GB, free: 207 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/4.148, allocations: 0.5821 MB / 1.752 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/4.148, allocations: 16.09 kB / 1.752 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/4.148, allocations: 35.75 kB / 1.752 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008139/4.149, allocations: 238.3 kB / 1.752 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/4.15, allocations: 313 kB / 1.753 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/4.15, allocations: 0 / 1.753 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/4.15, allocations: 0 / 1.753 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/4.15, allocations: 10.41 kB / 1.753 GB, free: 206.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/4.154, allocations: 1.767 MB / 1.754 GB, free: 204.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/4.154, allocations: 144.6 kB / 1.754 GB, free: 204.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/4.154, allocations: 69.97 kB / 1.754 GB, free: 204.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/4.155, allocations: 342.5 kB / 1.755 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/4.155, allocations: 30.56 kB / 1.755 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 3.547e-06/4.155, allocations: 3.781 kB / 1.755 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.000881/4.156, allocations: 216.7 kB / 1.755 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/4.156, allocations: 54.03 kB / 1.755 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/4.156, allocations: 487.8 kB / 1.756 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/4.157, allocations: 25.7 kB / 1.756 GB, free: 203.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/4.157, allocations: 275.5 kB / 1.756 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/4.157, allocations: 62.55 kB / 1.756 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/4.157, allocations: 0 / 1.756 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001208/4.157, allocations: 370.5 kB / 1.756 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/4.157, allocations: 85.36 kB / 1.756 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/4.158, allocations: 193.4 kB / 1.757 GB, free: 203 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/4.158, allocations: 124.5 kB / 1.757 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/4.158, allocations: 3.938 kB / 1.757 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001263/4.16, allocations: 334.3 kB / 1.757 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/4.16, allocations: 278.8 kB / 1.757 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/4.16, allocations: 0 / 1.757 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/4.16, allocations: 6.156 kB / 1.757 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/4.162, allocations: 135.5 kB / 1.757 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/4.164, allocations: 2.402 MB / 1.76 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/4.166, allocations: 73.19 kB / 1.76 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/4.166, allocations: 20.83 kB / 1.76 GB, free: 200 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/4.166, allocations: 3.219 kB / 1.76 GB, free: 200 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000894/4.167, allocations: 230.1 kB / 1.76 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/4.167, allocations: 2.125 kB / 1.76 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/4.167, allocations: 2.125 kB / 1.76 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/4.168, allocations: 100.7 kB / 1.76 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/4.168, allocations: 3.938 kB / 1.76 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/4.169, allocations: 72.33 kB / 1.76 GB, free: 199.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/4.169, allocations: 14 kB / 1.76 GB, free: 199.8 MB / 0.9323 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.0001963/4.169, allocations: 119 kB / 1.76 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/4.169, allocations: 59.28 kB / 1.76 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/4.171, allocations: 281.1 kB / 1.761 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/4.171, allocations: 2.562 kB / 1.761 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/4.171, allocations: 5.062 kB / 1.761 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/4.171, allocations: 0 / 1.761 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/4.173, allocations: 0.7734 MB / 1.761 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/4.173, allocations: 10.5 kB / 1.761 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/4.173, allocations: 72.83 kB / 1.762 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/4.173, allocations: 2.844 kB / 1.762 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/4.174, allocations: 13.59 kB / 1.762 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/4.175, allocations: 2.374 MB / 1.764 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/4.175, allocations: 0 / 1.764 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008461/4.175, allocations: 399.5 kB / 1.764 GB, free: 196.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008387/4.176, allocations: 0.8115 MB / 1.765 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/4.177, allocations: 161.2 kB / 1.765 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/4.177, allocations: 2.844 kB / 1.765 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/4.178, allocations: 57.75 kB / 1.765 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/4.178, allocations: 20.78 kB / 1.765 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/4.178, allocations: 8.891 kB / 1.765 GB, free: 195.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009844/4.179, allocations: 362.7 kB / 1.766 GB, free: 195 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00603/4.185, allocations: 492.3 kB / 1.766 GB, free: 194.8 MB / 0.9323 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.001437/4.187, allocations: 478.5 kB / 1.767 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003663/4.19, allocations: 442.8 kB / 1.767 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/4.191, allocations: 0 / 1.767 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009447/4.191, allocations: 119 kB / 1.767 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/4.195, allocations: 283.2 kB / 1.767 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/4.197, allocations: 0.7488 MB / 1.768 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/4.198, allocations: 0.9948 MB / 1.769 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/4.198, allocations: 0 / 1.769 GB, free: 193.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)