Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.212/2.212, 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.00174/0.001739, allocations: 182.9 kB / 315.1 MB, free: 4.258 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.874/1.874, allocations: 205.1 MB / 0.5658 GB, free: 284 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.001344/0.001344, allocations: 87.39 kB / 0.67 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4717/0.4731, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.709, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6763/1.385, allocations: 131.8 MB / 1.012 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.386, allocations: 78.12 kB / 1.012 GB, free: 8.242 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0236/1.409, allocations: 3.809 MB / 1.016 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.409, allocations: 8 kB / 1.016 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.41, allocations: 19.72 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/1.41, allocations: 209.4 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.41, allocations: 0 / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/1.41, allocations: 4 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004755/1.411, allocations: 82.59 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/1.411, allocations: 113.3 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.411, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/1.411, allocations: 3.984 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/1.411, allocations: 7.984 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/1.413, allocations: 0.5029 MB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/1.414, allocations: 76.38 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/1.414, allocations: 69.34 kB / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-05/1.414, allocations: 0 / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/1.414, allocations: 46 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 5e-06/1.414, allocations: 0 / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.00138/1.416, allocations: 165.3 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.416, allocations: 51.41 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/1.416, allocations: 131.5 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/1.416, allocations: 25.7 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/1.416, allocations: 100 kB / 1.018 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/1.416, allocations: 50.2 kB / 1.018 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/1.416, allocations: 4 kB / 1.018 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.416, allocations: 322.4 kB / 1.018 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/1.417, allocations: 55.11 kB / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/1.417, allocations: 53.8 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.417, allocations: 65.59 kB / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.417, allocations: 0 / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004792/1.417, allocations: 172.1 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.417, allocations: 8 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.418, allocations: 0.8438 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.418, allocations: 4 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/1.418, allocations: 55.95 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.418, allocations: 0 / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/1.419, allocations: 56.67 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/1.419, allocations: 4 kB / 1.018 GB, free: 2.555 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001062/1.419, allocations: 109 kB / 1.019 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/1.419, allocations: 11.81 kB / 1.019 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/1.419, allocations: 198.4 kB / 1.019 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.058e-05/1.419, allocations: 7.938 kB / 1.019 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.419, allocations: 3.984 kB / 1.019 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.419, allocations: 0 / 1.019 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/1.42, allocations: 215 kB / 1.019 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.42, allocations: 7 kB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/1.42, allocations: 59.12 kB / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.42, allocations: 4 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.421, allocations: 7.844 kB / 1.019 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.421, allocations: 0 / 1.019 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.421, allocations: 0 / 1.019 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005341/1.421, allocations: 266.6 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006807/1.422, allocations: 0.6413 MB / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/1.422, allocations: 89 kB / 1.02 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/1.422, allocations: 3.906 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/1.422, allocations: 51.95 kB / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/1.423, allocations: 10.92 kB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.423, allocations: 4 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001026/1.423, allocations: 105.6 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001243/1.424, allocations: 39.94 kB / 1.02 GB, free: 0.7969 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003046/1.424, allocations: 119.2 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004595/1.425, allocations: 197.7 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.425, allocations: 4 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/1.425, allocations: 142.7 kB / 1.021 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/1.425, allocations: 18.89 kB / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/1.426, allocations: 213.8 kB / 1.021 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/1.427, allocations: 0.7458 MB / 1.022 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.427, allocations: 0 / 1.022 GB, free: 15.38 MB / 0.6511 GB