Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.271/2.271, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001574/0.001574, allocations: 179.5 kB / 315.1 MB, free: 4.297 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.137/2.137, allocations: 205.1 MB / 0.5658 GB, free: 384 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.002017/0.002017, allocations: 101 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5188/0.5209, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.7611, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/1.494, allocations: 131.4 MB / 1.012 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.494, allocations: 67.58 kB / 1.012 GB, free: 8.789 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00434/1.499, allocations: 0.9381 MB / 1.013 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.499, allocations: 8 kB / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/1.499, allocations: 11.91 kB / 1.013 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/1.499, allocations: 174.9 kB / 1.013 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.499, allocations: 3.906 kB / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/1.499, allocations: 0 / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001226/1.499, allocations: 19.38 kB / 1.013 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.499, allocations: 44.38 kB / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/1.499, allocations: 0 / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.499, allocations: 0 / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.499, allocations: 0 / 1.013 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/1.5, allocations: 291.3 kB / 1.013 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/1.5, allocations: 33.45 kB / 1.013 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/1.5, allocations: 12.11 kB / 1.013 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/1.5, allocations: 3.938 kB / 1.013 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/1.5, allocations: 41.06 kB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.818e-06/1.5, allocations: 4 kB / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002226/1.5, allocations: 49.44 kB / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.5, allocations: 58.78 kB / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/1.501, allocations: 103.2 kB / 1.014 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/1.501, allocations: 29.69 kB / 1.014 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/1.501, allocations: 80.14 kB / 1.014 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/1.501, allocations: 11.03 kB / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.501, allocations: 0 / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.501, allocations: 325.9 kB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/1.501, allocations: 11.44 kB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/1.501, allocations: 7.938 kB / 1.014 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/1.501, allocations: 8.125 kB / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.501, allocations: 0 / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001872/1.501, allocations: 48.39 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.501, allocations: 7.984 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.501, allocations: 3.906 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.501, allocations: 4 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/1.502, allocations: 27.36 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.502, allocations: 3.938 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/1.502, allocations: 19.98 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.502, allocations: 0 / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.987e-05/1.502, allocations: 105 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/1.502, allocations: 3.906 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/1.502, allocations: 11.11 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.502, allocations: 4 kB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.502, allocations: 0 / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.502, allocations: 0 / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/1.502, allocations: 157 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.502, allocations: 4 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/1.503, allocations: 23.97 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.503, allocations: 384 / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.503, allocations: 0 / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.503, allocations: 0 / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.503, allocations: 4 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002048/1.503, allocations: 150.3 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000301/1.503, allocations: 0.5212 MB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/1.503, allocations: 81.02 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/1.503, allocations: 0 / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/1.503, allocations: 20.86 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/1.504, allocations: 11.61 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/1.504, allocations: 0 / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.393e-05/1.504, allocations: 87.22 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001099/1.505, allocations: 8 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001828/1.505, allocations: 99.25 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001627/1.505, allocations: 26.86 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/1.505, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/1.505, allocations: 10.56 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/1.506, allocations: 11.59 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/1.506, allocations: 88.48 kB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006354/1.507, allocations: 0.6954 MB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of SimCode: time 1.362e-06/1.507, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB