Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.188/2.188, allocations: 248.6 MB / 255.9 MB, free: 368 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001693/0.001693, allocations: 187.5 kB / 315.1 MB, free: 7.793 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.038/2.038, allocations: 205.1 MB / 0.5658 GB, free: 25.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 94.31 kB / 0.67 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2917/0.293, allocations: 112.4 MB / 0.7797 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.8228, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/1.039, allocations: 130.4 MB / 1.011 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.039, allocations: 71.95 kB / 1.011 GB, free: 10.64 MB / 0.6667 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.004151/1.043, allocations: 0.907 MB / 1.012 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.044, allocations: 8 kB / 1.012 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/1.044, allocations: 7.906 kB / 1.012 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/1.044, allocations: 163 kB / 1.012 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/1.044, allocations: 4 kB / 1.012 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/1.044, allocations: 0 / 1.012 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/1.044, allocations: 16 kB / 1.012 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/1.044, allocations: 53.59 kB / 1.012 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.044, allocations: 7.938 kB / 1.012 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/1.044, allocations: 0 / 1.012 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.044, allocations: 0 / 1.012 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/1.045, allocations: 289.3 kB / 1.012 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.045, allocations: 34.52 kB / 1.012 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/1.045, allocations: 12.86 kB / 1.012 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/1.045, allocations: 4 kB / 1.012 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.045, allocations: 34.64 kB / 1.012 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/1.045, allocations: 0 / 1.012 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.000227/1.045, allocations: 53.62 kB / 1.012 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/1.045, allocations: 51.41 kB / 1.012 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/1.046, allocations: 104.9 kB / 1.013 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/1.046, allocations: 29.7 kB / 1.013 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/1.046, allocations: 84.14 kB / 1.013 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/1.046, allocations: 7.906 kB / 1.013 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.046, allocations: 3.938 kB / 1.013 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.046, allocations: 314.8 kB / 1.013 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/1.046, allocations: 12 kB / 1.013 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-05/1.046, allocations: 8 kB / 1.013 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/1.046, allocations: 8 kB / 1.013 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.046, allocations: 0 / 1.013 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001522/1.046, allocations: 53.59 kB / 1.013 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.046, allocations: 8 kB / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/1.046, allocations: 0 / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.046, allocations: 0 / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/1.047, allocations: 19.98 kB / 1.013 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.047, allocations: 4 kB / 1.013 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/1.047, allocations: 19.89 kB / 1.013 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/1.047, allocations: 4 kB / 1.013 GB, free: 8.145 MB / 0.6667 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 9.974e-05/1.047, allocations: 109 kB / 1.013 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/1.047, allocations: 4 kB / 1.013 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/1.047, allocations: 65.53 kB / 1.013 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.047, allocations: 0 / 1.013 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.047, allocations: 0 / 1.013 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.047, allocations: 0 / 1.013 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/1.047, allocations: 146.2 kB / 1.013 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.047, allocations: 3.938 kB / 1.013 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/1.048, allocations: 23.98 kB / 1.013 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.048, allocations: 0 / 1.013 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.048, allocations: 0 / 1.013 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.048, allocations: 3.906 kB / 1.013 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.048, allocations: 4 kB / 1.013 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001893/1.048, allocations: 147.4 kB / 1.014 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003227/1.048, allocations: 0.5156 MB / 1.014 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/1.048, allocations: 85.02 kB / 1.014 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/1.048, allocations: 0 / 1.014 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/1.049, allocations: 23.97 kB / 1.014 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/1.049, allocations: 4 kB / 1.014 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/1.049, allocations: 0 / 1.014 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.486e-05/1.049, allocations: 91.56 kB / 1.014 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00136/1.05, allocations: 15.84 kB / 1.014 GB, free: 6.809 MB / 0.6667 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.000164/1.05, allocations: 99.19 kB / 1.014 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001735/1.051, allocations: 27.94 kB / 1.014 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.051, allocations: 2.594 kB / 1.014 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/1.051, allocations: 12.42 kB / 1.014 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/1.051, allocations: 11.66 kB / 1.014 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/1.051, allocations: 83.59 kB / 1.015 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/1.052, allocations: 0.6993 MB / 1.015 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of SimCode: time 8.72e-07/1.052, allocations: 0 / 1.015 GB, free: 5.828 MB / 0.6667 GB