Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Gain,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.316/2.316, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.001717/0.001717, allocations: 180.2 kB / 315.1 MB, free: 4.262 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.082/2.082, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001345/0.001344, allocations: 99.25 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5363/0.5377, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.8013, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7189/1.52, allocations: 131.4 MB / 1.012 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.521, allocations: 67.78 kB / 1.012 GB, free: 8.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002654/1.523, allocations: 0.6481 MB / 1.012 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.523, allocations: 12 kB / 1.012 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/1.523, allocations: 4 kB / 1.013 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/1.524, allocations: 167 kB / 1.013 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.524, allocations: 4 kB / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.524, allocations: 0 / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.861e-05/1.524, allocations: 7.375 kB / 1.013 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.411e-05/1.524, allocations: 40.88 kB / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.524, allocations: 0 / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/1.524, allocations: 0 / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.524, allocations: 0 / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/1.524, allocations: 251 kB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/1.525, allocations: 29.92 kB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/1.525, allocations: 8.859 kB / 1.013 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/1.525, allocations: 4.062 kB / 1.013 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/1.525, allocations: 34.06 kB / 1.013 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.504e-06/1.525, allocations: 0 / 1.013 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001953/1.525, allocations: 41.7 kB / 1.013 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.525, allocations: 55.34 kB / 1.013 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/1.525, allocations: 94.75 kB / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/1.525, allocations: 29.73 kB / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/1.525, allocations: 92.06 kB / 1.013 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/1.525, allocations: 3.906 kB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/1.525, allocations: 0 / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.525, allocations: 314.6 kB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/1.525, allocations: 4 kB / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/1.525, allocations: 11.25 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/1.526, allocations: 0 / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.526, allocations: 0 / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/1.526, allocations: 49.19 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.526, allocations: 4 kB / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.526, allocations: 0 / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.526, allocations: 3.906 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/1.526, allocations: 15.98 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.526, allocations: 0 / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/1.526, allocations: 8.031 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.526, allocations: 7.938 kB / 1.014 GB, free: 6.711 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 (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 8.559e-05/1.526, allocations: 101 kB / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/1.526, allocations: 3.906 kB / 1.014 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/1.526, allocations: 14.81 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/1.526, allocations: 4 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.526, allocations: 0 / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.526, allocations: 7.922 kB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/1.526, allocations: 138.1 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.527, allocations: 0 / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/1.527, allocations: 12.98 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.527, allocations: 0 / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.527, allocations: 3.906 kB / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.527, allocations: 4 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.527, allocations: 0 / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001552/1.527, allocations: 134.7 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000297/1.527, allocations: 0.5059 MB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/1.527, allocations: 90.25 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/1.527, allocations: 4 kB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/1.527, allocations: 8.062 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/1.527, allocations: 7.984 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/1.527, allocations: 0 / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.844e-05/1.528, allocations: 79.28 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001086/1.529, allocations: 4 kB / 1.015 GB, free: 5.527 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 (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.0001824/1.529, allocations: 99.25 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001279/1.529, allocations: 15.06 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.529, allocations: 0 / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/1.529, allocations: 7.938 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/1.529, allocations: 9.797 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/1.53, allocations: 70.06 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/1.53, allocations: 0.6918 MB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/1.53, allocations: 128 / 1.016 GB, free: 4.59 MB / 0.6355 GB