Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.386/2.386, allocations: 248.6 MB / 255.9 MB, free: 7.078 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.001826/0.001826, allocations: 179.7 kB / 315.1 MB, free: 4.277 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.046/2.046, 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.001302/0.001302, allocations: 98.38 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4896/0.491, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.7205, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6797/1.4, allocations: 131.4 MB / 1.012 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.401, allocations: 60.41 kB / 1.012 GB, free: 8.68 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00458/1.405, allocations: 1.216 MB / 1.013 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.405, allocations: 12 kB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/1.405, allocations: 7.906 kB / 1.013 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/1.406, allocations: 182.8 kB / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/1.406, allocations: 0 / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/1.406, allocations: 8 kB / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/1.406, allocations: 32.91 kB / 1.013 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/1.406, allocations: 74.03 kB / 1.013 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.406, allocations: 0 / 1.013 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.406, allocations: 8 kB / 1.013 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.406, allocations: 0 / 1.013 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/1.407, allocations: 426.8 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/1.407, allocations: 36.03 kB / 1.014 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/1.407, allocations: 17.77 kB / 1.014 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/1.407, allocations: 4.031 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.407, allocations: 41.44 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/1.407, allocations: 2.516 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002278/1.407, allocations: 48.22 kB / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.407, allocations: 77.11 kB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/1.408, allocations: 132 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/1.408, allocations: 29.64 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/1.408, allocations: 102.8 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/1.408, allocations: 7.906 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.408, allocations: 4.062 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.408, allocations: 318.2 kB / 1.015 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/1.408, allocations: 10.19 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/1.408, allocations: 16.78 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/1.408, allocations: 10.62 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.408, allocations: 0 / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001376/1.408, allocations: 59.25 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.408, allocations: 7.938 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.408, allocations: 0 / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.408, allocations: 4 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/1.408, allocations: 11.03 kB / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/1.408, allocations: 0 / 1.015 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/1.408, allocations: 7.938 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/1.409, allocations: 0 / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.503e-05/1.409, allocations: 101 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/1.409, allocations: 7.906 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/1.409, allocations: 23.22 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.409, allocations: 0 / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.409, allocations: 3.938 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.409, allocations: 3.906 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/1.409, allocations: 444.3 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.409, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/1.409, allocations: 7.906 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/1.409, allocations: 4.062 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/1.409, allocations: 4 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.409, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.409, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001486/1.41, allocations: 89.86 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000274/1.41, allocations: 473.2 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/1.41, allocations: 85.02 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/1.41, allocations: 0 / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/1.41, allocations: 4 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/1.41, allocations: 8.016 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/1.41, allocations: 0 / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.141e-05/1.41, allocations: 104.8 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001128/1.411, allocations: 11.91 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001915/1.412, allocations: 95.25 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001197/1.412, allocations: 23.67 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.412, allocations: 3.938 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/1.412, allocations: 7.25 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/1.412, allocations: 13.14 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/1.412, allocations: 111.9 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/1.413, allocations: 0.7114 MB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/1.413, allocations: 0 / 1.017 GB, free: 3.391 MB / 0.6355 GB