Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.377/1.377, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009763/0.0009763, allocations: 177.3 kB / 361.1 MB, free: 7.086 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.221/1.221, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009291/0.0009292, allocations: 84.83 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2115/0.2125, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.6784, allocations: 115.3 MB / 0.9638 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6305/1.309, allocations: 397.9 MB / 1.352 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/1.309, allocations: 91.94 kB / 1.352 GB, free: 163.7 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.022/2.331, allocations: 409.7 MB / 1.752 GB, free: 229.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/2.332, allocations: 8.094 kB / 1.752 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/2.332, allocations: 95.44 kB / 1.753 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/2.333, allocations: 0.5718 MB / 1.753 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/2.333, allocations: 21.19 kB / 1.753 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/2.333, allocations: 37.41 kB / 1.753 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004446/2.333, allocations: 237.4 kB / 1.753 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/2.334, allocations: 310.2 kB / 1.754 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/2.334, allocations: 0 / 1.754 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/2.334, allocations: 3.938 kB / 1.754 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/2.334, allocations: 13.69 kB / 1.754 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/2.336, allocations: 1.765 MB / 1.755 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/2.336, allocations: 147 kB / 1.756 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.257e-05/2.336, allocations: 70.14 kB / 1.756 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/2.336, allocations: 347 kB / 1.756 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/2.336, allocations: 34.28 kB / 1.756 GB, free: 226.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/2.336, allocations: 0 / 1.756 GB, free: 226.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004656/2.337, allocations: 214.7 kB / 1.756 GB, free: 226.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/2.337, allocations: 55.41 kB / 1.756 GB, free: 226.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/2.337, allocations: 482.7 kB / 1.757 GB, free: 225.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/2.337, allocations: 28.73 kB / 1.757 GB, free: 225.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/2.337, allocations: 277.5 kB / 1.757 GB, free: 225.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/2.337, allocations: 62.14 kB / 1.757 GB, free: 225.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/2.337, allocations: 3.719 kB / 1.757 GB, free: 225.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/2.338, allocations: 368.8 kB / 1.757 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/2.338, allocations: 84.02 kB / 1.758 GB, free: 225.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/2.338, allocations: 190.9 kB / 1.758 GB, free: 225 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/2.338, allocations: 115 kB / 1.758 GB, free: 225 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.338, allocations: 2.656 kB / 1.758 GB, free: 225 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005182/2.339, allocations: 332.8 kB / 1.758 GB, free: 224.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/2.339, allocations: 276.4 kB / 1.758 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/2.339, allocations: 6.609 kB / 1.758 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/2.339, allocations: 8.25 kB / 1.758 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009268/2.34, allocations: 139.3 kB / 1.759 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009123/2.341, allocations: 2.398 MB / 1.761 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/2.341, allocations: 71.72 kB / 1.761 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/2.341, allocations: 18.45 kB / 1.761 GB, free: 222.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/2.341, allocations: 5.75 kB / 1.761 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004033/2.342, allocations: 228 kB / 1.761 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/2.342, allocations: 4.656 kB / 1.761 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/2.342, allocations: 6.75 kB / 1.761 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/2.342, allocations: 96.94 kB / 1.761 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/2.342, allocations: 6.625 kB / 1.761 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/2.343, allocations: 75.48 kB / 1.761 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/2.343, allocations: 19.52 kB / 1.761 GB, free: 221.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 9.004e-05/2.343, allocations: 115.5 kB / 1.762 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/2.343, allocations: 62.81 kB / 1.762 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/2.343, allocations: 269.9 kB / 1.762 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/2.343, allocations: 6.641 kB / 1.762 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/2.343, allocations: 0 / 1.762 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/2.343, allocations: 0 / 1.762 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/2.344, allocations: 0.7824 MB / 1.763 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/2.344, allocations: 4.844 kB / 1.763 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/2.345, allocations: 81.58 kB / 1.763 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/2.345, allocations: 2.5 kB / 1.763 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/2.345, allocations: 3.25 kB / 1.763 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006197/2.345, allocations: 2.364 MB / 1.765 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.345, allocations: 2.75 kB / 1.765 GB, free: 218.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000363/2.346, allocations: 410.1 kB / 1.765 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004773/2.346, allocations: 0.8055 MB / 1.766 GB, free: 217.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/2.346, allocations: 162.4 kB / 1.766 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/2.346, allocations: 0 / 1.766 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/2.347, allocations: 58.06 kB / 1.766 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/2.347, allocations: 24.17 kB / 1.766 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/2.347, allocations: 8.703 kB / 1.766 GB, free: 217.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002989/2.347, allocations: 365 kB / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002311/2.349, allocations: 491.9 kB / 1.767 GB, free: 216.9 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.0007897/2.35, allocations: 474 kB / 1.768 GB, free: 216.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001327/2.352, allocations: 449.8 kB / 1.768 GB, free: 216.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.352, allocations: 0 / 1.768 GB, free: 216.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/2.352, allocations: 116.7 kB / 1.768 GB, free: 216.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/2.354, allocations: 291.3 kB / 1.769 GB, free: 216.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/2.355, allocations: 0.7478 MB / 1.769 GB, free: 216 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/2.356, allocations: 0.9955 MB / 1.77 GB, free: 215.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/2.356, allocations: 5.375 kB / 1.77 GB, free: 215.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)