Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",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.088/2.088, allocations: 248.6 MB / 255.9 MB, free: 7.168 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.001818/0.001818, allocations: 179.9 kB / 315.1 MB, free: 4.301 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.835/1.835, 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.001294/0.001294, allocations: 90.41 kB / 0.67 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.568/0.5694, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.7803, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6517/1.432, allocations: 135.6 MB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/1.433, allocations: 87.69 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0228/1.455, allocations: 5.733 MB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.455, allocations: 12 kB / 1.022 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/1.456, allocations: 35.53 kB / 1.022 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/1.456, allocations: 310.6 kB / 1.022 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/1.456, allocations: 4 kB / 1.022 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/1.456, allocations: 19.98 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005704/1.457, allocations: 171.4 kB / 1.022 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/1.457, allocations: 237.3 kB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.457, allocations: 8 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/1.458, allocations: 0 / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/1.458, allocations: 4 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/1.46, allocations: 1.053 MB / 1.023 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/1.461, allocations: 203 kB / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/1.461, allocations: 90.67 kB / 1.024 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/1.461, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.461, allocations: 34.91 kB / 1.024 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 3.377e-06/1.461, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0006126/1.462, allocations: 183.4 kB / 1.024 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.462, allocations: 85 kB / 1.024 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/1.462, allocations: 213.1 kB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/1.462, allocations: 25.7 kB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.462, allocations: 153.2 kB / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/1.462, allocations: 62.2 kB / 1.024 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/1.462, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.462, allocations: 337.2 kB / 1.025 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.463, allocations: 60.88 kB / 1.025 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/1.463, allocations: 86.36 kB / 1.025 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/1.463, allocations: 68.17 kB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.463, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005349/1.464, allocations: 202 kB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.464, allocations: 189.5 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.464, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.464, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/1.464, allocations: 55.91 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.464, allocations: 7.938 kB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/1.465, allocations: 35.88 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/1.465, allocations: 4 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/1.465, allocations: 4 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004044/1.465, allocations: 139 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/1.465, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/1.465, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/1.466, allocations: 51.94 kB / 1.026 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/1.466, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/1.466, allocations: 31.64 kB / 1.026 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/1.466, allocations: 8 kB / 1.026 GB, free: 12.33 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.466, allocations: 108.9 kB / 1.026 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/1.466, allocations: 27.62 kB / 1.026 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/1.467, allocations: 201.3 kB / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.467, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.467, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/1.467, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.468, allocations: 0.5802 MB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.468, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/1.469, allocations: 55.89 kB / 1.027 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.469, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/1.469, allocations: 3.25 kB / 1.027 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.469, allocations: 8.031 kB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.469, allocations: 3.938 kB / 1.027 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008089/1.47, allocations: 386.6 kB / 1.027 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00115/1.471, allocations: 0.854 MB / 1.028 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/1.471, allocations: 100.8 kB / 1.028 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/1.471, allocations: 7.312 kB / 1.028 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/1.471, allocations: 32.03 kB / 1.028 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/1.471, allocations: 15.92 kB / 1.028 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/1.471, allocations: 7.938 kB / 1.028 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002681/1.472, allocations: 168.4 kB / 1.028 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002185/1.474, allocations: 83.59 kB / 1.028 GB, free: 10.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/1.474, allocations: 119.1 kB / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007703/1.475, allocations: 236.6 kB / 1.028 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.475, allocations: 0 / 1.028 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/1.475, allocations: 80.69 kB / 1.029 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/1.476, allocations: 43.95 kB / 1.029 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.477, allocations: 361.5 kB / 1.029 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/1.478, allocations: 0.7993 MB / 1.03 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of SimCode: time 1.011e-06/1.478, allocations: 4 kB / 1.03 GB, free: 8.52 MB / 0.6511 GB