Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.271/2.271, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001697/0.001697, allocations: 189.2 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.008/2.008, 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.001258/0.001258, allocations: 90.83 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5385/0.5398, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.7858, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7411/1.527, allocations: 131.4 MB / 1.012 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/1.527, allocations: 69.95 kB / 1.012 GB, free: 8.734 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004125/1.532, allocations: 0.6935 MB / 1.013 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/1.532, allocations: 8 kB / 1.013 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/1.532, allocations: 3.125 kB / 1.013 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/1.532, allocations: 167 kB / 1.013 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/1.532, allocations: 3.906 kB / 1.013 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/1.532, allocations: 4 kB / 1.013 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.204e-05/1.532, allocations: 11.88 kB / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/1.532, allocations: 33.06 kB / 1.013 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.532, allocations: 4 kB / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.532, allocations: 0 / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.532, allocations: 0 / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/1.533, allocations: 130.8 kB / 1.013 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/1.533, allocations: 22.61 kB / 1.013 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/1.533, allocations: 8.922 kB / 1.013 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/1.533, allocations: 0 / 1.013 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/1.533, allocations: 34.47 kB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/1.533, allocations: 0 / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000211/1.533, allocations: 40.5 kB / 1.013 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/1.533, allocations: 51.41 kB / 1.013 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.533, allocations: 103.1 kB / 1.013 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/1.533, allocations: 29.73 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/1.533, allocations: 80.14 kB / 1.013 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/1.533, allocations: 3.25 kB / 1.013 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/1.533, allocations: 0 / 1.013 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.534, allocations: 318.7 kB / 1.014 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/1.534, allocations: 4 kB / 1.014 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/1.534, allocations: 3.312 kB / 1.014 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/1.534, allocations: 4 kB / 1.014 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.534, allocations: 4.062 kB / 1.014 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001466/1.534, allocations: 33.7 kB / 1.014 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.534, allocations: 9.344 kB / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/1.534, allocations: 0 / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.534, allocations: 0 / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/1.534, allocations: 11.23 kB / 1.014 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.534, allocations: 0 / 1.014 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/1.534, allocations: 7.906 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/1.534, allocations: 4.031 kB / 1.014 GB, free: 6.828 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 (1): * Single equations (assignments): 1 * 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.418e-05/1.535, allocations: 101 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/1.535, allocations: 4 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/1.535, allocations: 11.09 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.535, allocations: 3.906 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.535, allocations: 0 / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.535, allocations: 0 / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/1.535, allocations: 137.2 kB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.535, allocations: 0 / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/1.535, allocations: 8 kB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.535, allocations: 3.984 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.535, allocations: 0 / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.535, allocations: 0 / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.535, allocations: 0 / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001633/1.535, allocations: 68.22 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003575/1.536, allocations: 457.6 kB / 1.014 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/1.536, allocations: 77.11 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/1.536, allocations: 0 / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/1.536, allocations: 4 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/1.536, allocations: 3.906 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/1.536, allocations: 3.984 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.317e-05/1.536, allocations: 86.62 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001757/1.538, allocations: 4 kB / 1.015 GB, free: 5.797 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 (1): * Single equations (assignments): 1 * 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.0002136/1.538, allocations: 95.25 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001357/1.538, allocations: 4 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.538, allocations: 3.938 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/1.538, allocations: 11.75 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/1.539, allocations: 0 / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/1.539, allocations: 60.03 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/1.539, allocations: 0.6841 MB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/1.54, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB