Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.229/2.229, allocations: 248.6 MB / 255.9 MB, free: 1.211 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 194 kB / 315.1 MB, free: 9.617 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.1 MB / 0.5658 GB, free: 14.17 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 96.05 kB / 0.67 GB, free: 52.03 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2772/0.2786, allocations: 112.4 MB / 0.7797 GB, free: 10.68 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.5282, allocations: 106.3 MB / 0.8835 GB, free: 316 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6432/1.172, allocations: 130.4 MB / 1.011 GB, free: 284 kB / 0.6434 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.172, allocations: 71.95 kB / 1.011 GB, free: 212 kB / 0.6434 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003029/1.175, allocations: 0.6973 MB / 1.012 GB, free: 15.49 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.175, allocations: 8 kB / 1.012 GB, free: 15.48 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/1.175, allocations: 15.45 kB / 1.012 GB, free: 15.47 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.175, allocations: 161 kB / 1.012 GB, free: 15.28 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.175, allocations: 3.906 kB / 1.012 GB, free: 15.27 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/1.175, allocations: 6 kB / 1.012 GB, free: 15.27 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.514e-05/1.175, allocations: 11.94 kB / 1.012 GB, free: 15.26 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/1.175, allocations: 37.69 kB / 1.012 GB, free: 15.21 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.176, allocations: 0 / 1.012 GB, free: 15.21 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.176, allocations: 0 / 1.012 GB, free: 15.21 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.176, allocations: 4.906 kB / 1.012 GB, free: 15.21 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/1.176, allocations: 226.6 kB / 1.012 GB, free: 14.95 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/1.176, allocations: 23.58 kB / 1.012 GB, free: 14.92 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/1.176, allocations: 12.92 kB / 1.012 GB, free: 14.91 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/1.176, allocations: 5.188 kB / 1.012 GB, free: 14.9 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.176, allocations: 30.56 kB / 1.012 GB, free: 14.86 MB / 0.659 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/1.176, allocations: 0.75 kB / 1.012 GB, free: 14.86 MB / 0.659 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/1.176, allocations: 41.69 kB / 1.012 GB, free: 14.82 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.176, allocations: 52.41 kB / 1.012 GB, free: 14.75 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/1.177, allocations: 97.5 kB / 1.012 GB, free: 14.66 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/1.177, allocations: 25.7 kB / 1.012 GB, free: 14.62 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/1.177, allocations: 88.77 kB / 1.012 GB, free: 14.54 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/1.177, allocations: 0.8438 kB / 1.012 GB, free: 14.54 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/1.177, allocations: 0 / 1.012 GB, free: 14.54 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.177, allocations: 319.3 kB / 1.013 GB, free: 14.21 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/1.177, allocations: 9.25 kB / 1.013 GB, free: 14.21 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/1.177, allocations: 4 kB / 1.013 GB, free: 14.2 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/1.177, allocations: 4.938 kB / 1.013 GB, free: 14.2 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.177, allocations: 0 / 1.013 GB, free: 14.2 MB / 0.659 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/1.177, allocations: 48.11 kB / 1.013 GB, free: 14.15 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.177, allocations: 5.312 kB / 1.013 GB, free: 14.15 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.177, allocations: 2 kB / 1.013 GB, free: 14.15 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.177, allocations: 0 / 1.013 GB, free: 14.15 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/1.177, allocations: 15.98 kB / 1.013 GB, free: 14.13 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.177, allocations: 0 / 1.013 GB, free: 14.13 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.943e-05/1.177, allocations: 15.67 kB / 1.013 GB, free: 14.12 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/1.177, allocations: 8 kB / 1.013 GB, free: 14.11 MB / 0.659 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 (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 prepare postOptimizeDAE: time 7.826e-05/1.178, allocations: 101.8 kB / 1.013 GB, free: 14.01 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/1.178, allocations: 0 / 1.013 GB, free: 14.01 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/1.178, allocations: 51.45 kB / 1.013 GB, free: 13.96 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.178, allocations: 5.719 kB / 1.013 GB, free: 13.95 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.178, allocations: 0 / 1.013 GB, free: 13.95 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.178, allocations: 4 kB / 1.013 GB, free: 13.95 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/1.178, allocations: 134.2 kB / 1.013 GB, free: 13.78 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.178, allocations: 2.25 kB / 1.013 GB, free: 13.78 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.178, allocations: 14.77 kB / 1.013 GB, free: 13.77 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.178, allocations: 0 / 1.013 GB, free: 13.77 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.178, allocations: 0 / 1.013 GB, free: 13.77 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.178, allocations: 1.188 kB / 1.013 GB, free: 13.77 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.178, allocations: 0 / 1.013 GB, free: 13.77 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001453/1.178, allocations: 144.1 kB / 1.013 GB, free: 13.61 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002433/1.179, allocations: 0.5115 MB / 1.014 GB, free: 13.08 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/1.179, allocations: 77.11 kB / 1.014 GB, free: 12.99 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/1.179, allocations: 0 / 1.014 GB, free: 12.99 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.179, allocations: 16.05 kB / 1.014 GB, free: 12.97 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/1.179, allocations: 3.906 kB / 1.014 GB, free: 12.97 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/1.179, allocations: 3.062 kB / 1.014 GB, free: 12.97 MB / 0.659 GB Notification: Performance of sort global known variables: time 5.273e-05/1.179, allocations: 81.88 kB / 1.014 GB, free: 12.89 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001093/1.18, allocations: 4 kB / 1.014 GB, free: 12.89 MB / 0.659 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 (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.0001692/1.18, allocations: 102.6 kB / 1.014 GB, free: 12.78 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0001164/1.18, allocations: 16 kB / 1.014 GB, free: 12.77 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.18, allocations: 0 / 1.014 GB, free: 12.77 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/1.18, allocations: 12 kB / 1.014 GB, free: 12.75 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/1.181, allocations: 3.938 kB / 1.014 GB, free: 12.75 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/1.181, allocations: 63.23 kB / 1.014 GB, free: 12.67 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/1.181, allocations: 0.689 MB / 1.015 GB, free: 11.95 MB / 0.659 GB Notification: Performance of SimCode: time 9.92e-07/1.181, allocations: 0 / 1.015 GB, free: 11.95 MB / 0.659 GB