Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.44/2.44, allocations: 248.6 MB / 255.9 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001678/0.001678, allocations: 177.2 kB / 315.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.1 MB / 0.5658 GB, free: 400 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001878/0.001877, allocations: 99.83 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4884/0.4904, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.7238, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.56/2.284, allocations: 391.1 MB / 1.265 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/2.284, allocations: 99.19 kB / 1.266 GB, free: 240.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.816/4.101, allocations: 398 MB / 1.654 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/4.101, allocations: 11.25 kB / 1.654 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/4.101, allocations: 99.31 kB / 1.654 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/4.103, allocations: 0.58 MB / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/4.103, allocations: 14.69 kB / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/4.103, allocations: 34.12 kB / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/4.104, allocations: 244.8 kB / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/4.106, allocations: 306 kB / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/4.106, allocations: 3.938 kB / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/4.106, allocations: 0 / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/4.106, allocations: 15.12 kB / 1.655 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006687/4.112, allocations: 1.762 MB / 1.657 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/4.113, allocations: 141.5 kB / 1.657 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/4.114, allocations: 68.27 kB / 1.657 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/4.114, allocations: 345.6 kB / 1.658 GB, free: 203 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/4.114, allocations: 34.88 kB / 1.658 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.807e-06/4.114, allocations: 0.75 kB / 1.658 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0014/4.115, allocations: 208 kB / 1.658 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/4.116, allocations: 55.31 kB / 1.658 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/4.117, allocations: 491.2 kB / 1.658 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/4.117, allocations: 29.36 kB / 1.658 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/4.117, allocations: 274.3 kB / 1.659 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/4.118, allocations: 65.03 kB / 1.659 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/4.118, allocations: 0 / 1.659 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001662/4.118, allocations: 367.6 kB / 1.659 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/4.118, allocations: 79.34 kB / 1.659 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/4.118, allocations: 192.3 kB / 1.659 GB, free: 202 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/4.119, allocations: 117.5 kB / 1.66 GB, free: 202 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/4.119, allocations: 0 / 1.66 GB, free: 202 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001066/4.12, allocations: 336.2 kB / 1.66 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.099e-05/4.12, allocations: 273 kB / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/4.12, allocations: 112 / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/4.12, allocations: 7.5 kB / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/4.122, allocations: 145.3 kB / 1.66 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/4.124, allocations: 2.392 MB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/4.125, allocations: 74.98 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/4.125, allocations: 21.09 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/4.125, allocations: 6.906 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008126/4.126, allocations: 229.7 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/4.126, allocations: 2.156 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/4.126, allocations: 3.844 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/4.127, allocations: 107.5 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/4.127, allocations: 0 / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/4.128, allocations: 66.08 kB / 1.663 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/4.128, allocations: 21.42 kB / 1.663 GB, free: 199.3 MB / 0.8698 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.0001772/4.129, allocations: 117.5 kB / 1.663 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/4.129, allocations: 59.75 kB / 1.663 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/4.13, allocations: 268.4 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/4.13, allocations: 3.891 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/4.13, allocations: 6.938 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-06/4.13, allocations: 7.156 kB / 1.664 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/4.132, allocations: 0.7649 MB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/4.132, allocations: 7.641 kB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/4.132, allocations: 77.22 kB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/4.132, allocations: 3.812 kB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/4.132, allocations: 6.969 kB / 1.664 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/4.133, allocations: 2.37 MB / 1.667 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/4.133, allocations: 0 / 1.667 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008478/4.134, allocations: 410.2 kB / 1.667 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008316/4.135, allocations: 0.7984 MB / 1.668 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/4.136, allocations: 163.2 kB / 1.668 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/4.136, allocations: 7.781 kB / 1.668 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007901/4.136, allocations: 50.48 kB / 1.668 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/4.137, allocations: 14.78 kB / 1.668 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/4.137, allocations: 11.06 kB / 1.668 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005972/4.137, allocations: 373.9 kB / 1.668 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003643/4.141, allocations: 489.9 kB / 1.669 GB, free: 195.2 MB / 0.8698 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.001155/4.142, allocations: 474.1 kB / 1.669 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002781/4.145, allocations: 436.6 kB / 1.67 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/4.145, allocations: 0 / 1.67 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006644/4.146, allocations: 119.8 kB / 1.67 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004213/4.15, allocations: 296 kB / 1.67 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/4.152, allocations: 0.7525 MB / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/4.153, allocations: 0.996 MB / 1.672 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/4.153, allocations: 0 / 1.672 GB, free: 194.1 MB / 0.8698 GB