Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.559/2.559, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.002593/0.002593, allocations: 183.2 kB / 315.1 MB, free: 4.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.1 MB / 0.5658 GB, free: 328 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.001326/0.001326, allocations: 83.28 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5097/0.5111, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.7363, allocations: 106.3 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.587/2.324, allocations: 431.5 MB / 1.305 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006405/2.324, allocations: 90.7 kB / 1.305 GB, free: 240.8 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 4.107/6.431, allocations: 0.7457 GB / 2.051 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/6.432, allocations: 7.812 kB / 2.051 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008165/6.44, allocations: 0.5994 MB / 2.051 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08046/6.52, allocations: 13.78 MB / 2.065 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/6.521, allocations: 39.69 kB / 2.065 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007147/6.521, allocations: 67.97 kB / 2.065 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004381/6.526, allocations: 0.8726 MB / 2.066 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004539/6.53, allocations: 1.072 MB / 2.067 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/6.53, allocations: 1.688 kB / 2.067 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/6.531, allocations: 3.781 kB / 2.067 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/6.531, allocations: 27.56 kB / 2.067 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/6.55, allocations: 5.696 MB / 2.072 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/6.553, allocations: 0.6992 MB / 2.073 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/6.554, allocations: 362.9 kB / 2.073 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/6.565, allocations: 2.716 MB / 2.076 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/6.565, allocations: 43.39 kB / 2.076 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 6.642e-06/6.565, allocations: 0 / 2.076 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.008022/6.573, allocations: 1.011 MB / 2.077 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/6.573, allocations: 59.19 kB / 2.077 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/6.577, allocations: 1.195 MB / 2.078 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000418/6.578, allocations: 29.36 kB / 2.078 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/6.579, allocations: 0.5476 MB / 2.079 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005987/6.579, allocations: 203 kB / 2.079 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/6.58, allocations: 0 / 2.079 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001593/6.58, allocations: 340.2 kB / 2.079 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/6.581, allocations: 319.7 kB / 2.08 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/6.583, allocations: 0.7337 MB / 2.08 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00513/6.588, allocations: 0.5336 MB / 2.081 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/6.588, allocations: 3.938 kB / 2.081 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01028/6.598, allocations: 1.363 MB / 2.082 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001378/6.6, allocations: 4.327 MB / 2.086 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-05/6.6, allocations: 7.906 kB / 2.086 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/6.601, allocations: 213.7 kB / 2.087 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/6.604, allocations: 208.5 kB / 2.087 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/6.607, allocations: 1.898 MB / 2.089 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/6.611, allocations: 137.9 kB / 2.089 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000768/6.612, allocations: 78.52 kB / 2.089 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/6.612, allocations: 3.531 kB / 2.089 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01041/6.623, allocations: 1.107 MB / 2.09 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-05/6.623, allocations: 11.06 kB / 2.09 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/6.624, allocations: 206.4 kB / 2.09 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/6.626, allocations: 200.7 kB / 2.09 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/6.637, allocations: 3.719 MB / 2.094 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/6.641, allocations: 115.9 kB / 2.094 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004746/6.641, allocations: 69.42 kB / 2.094 GB, free: 114.3 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006921/6.642, allocations: 148.4 kB / 2.094 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/6.643, allocations: 162.5 kB / 2.094 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007762/6.651, allocations: 1.315 MB / 2.096 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/6.651, allocations: 11.28 kB / 2.096 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/6.651, allocations: 3.344 kB / 2.096 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/6.651, allocations: 3.844 kB / 2.096 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/6.662, allocations: 2.288 MB / 2.098 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/6.662, allocations: 1.25 kB / 2.098 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/6.664, allocations: 130.3 kB / 2.098 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009888/6.665, allocations: 158.2 kB / 2.098 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/6.665, allocations: 22.88 kB / 2.098 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/6.668, allocations: 1.822 MB / 2.1 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/6.668, allocations: 6.562 kB / 2.1 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007318/6.675, allocations: 1.278 MB / 2.101 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008219/6.683, allocations: 1.754 MB / 2.103 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/6.685, allocations: 341.1 kB / 2.103 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007633/6.686, allocations: 6.438 kB / 2.103 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/6.689, allocations: 66.2 kB / 2.103 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/6.689, allocations: 47.27 kB / 2.103 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/6.689, allocations: 38.52 kB / 2.104 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003632/6.693, allocations: 0.9048 MB / 2.104 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01366/6.707, allocations: 1.315 MB / 2.106 GB, free: 108 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005816/6.713, allocations: 1.354 MB / 2.107 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007652/6.72, allocations: 1.537 MB / 2.109 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/6.72, allocations: 1.312 kB / 2.109 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/6.723, allocations: 418.8 kB / 2.109 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008872/6.732, allocations: 0.6505 MB / 2.11 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/6.745, allocations: 2.164 MB / 2.112 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004134/6.749, allocations: 1.566 MB / 2.113 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.964e-06/6.749, allocations: 0 / 2.113 GB, free: 105.1 MB / 0.8698 GB