Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 253.1 MB / 260.4 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001744/0.001744, allocations: 196.3 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 96.34 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.233e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2992, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8474/1.147, allocations: 131.4 MB / 1.016 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004176/1.147, allocations: 70.45 kB / 1.016 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00333/1.151, allocations: 378.8 kB / 1.017 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.151, allocations: 0 / 1.017 GB, free: 6.488 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.0005475/1.151, allocations: 327.1 kB / 1.017 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/1.151, allocations: 8.031 kB / 1.017 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/1.151, allocations: 4 kB / 1.017 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/1.152, allocations: 173.5 kB / 1.017 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.152, allocations: 3.906 kB / 1.017 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/1.152, allocations: 0 / 1.017 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.613e-05/1.152, allocations: 4 kB / 1.017 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/1.152, allocations: 29.64 kB / 1.017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.152, allocations: 0 / 1.017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/1.152, allocations: 0 / 1.017 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/1.152, allocations: 4 kB / 1.017 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/1.152, allocations: 136.4 kB / 1.017 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/1.152, allocations: 26.53 kB / 1.018 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/1.152, allocations: 4.859 kB / 1.018 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/1.152, allocations: 0 / 1.018 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/1.153, allocations: 41.78 kB / 1.018 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.416e-06/1.153, allocations: 0 / 1.018 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002302/1.153, allocations: 36.27 kB / 1.018 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.153, allocations: 55.44 kB / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/1.153, allocations: 96.86 kB / 1.018 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/1.153, allocations: 29.7 kB / 1.018 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/1.153, allocations: 82.52 kB / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/1.153, allocations: 0 / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/1.153, allocations: 0 / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.153, allocations: 314.8 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/1.153, allocations: 7 kB / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/1.154, allocations: 4 kB / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/1.154, allocations: 4 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.154, allocations: 0 / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000148/1.154, allocations: 36.62 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.154, allocations: 10.66 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.154, allocations: 0 / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.154, allocations: 0 / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.154, allocations: 4 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.154, allocations: 3.938 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/1.154, allocations: 16.86 kB / 1.018 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.154, allocations: 0 / 1.018 GB, free: 4.891 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 0.000126/1.154, allocations: 102.7 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/1.154, allocations: 0 / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/1.154, allocations: 14.48 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.154, allocations: 7.844 kB / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.155, allocations: 0 / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.155, allocations: 0 / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/1.155, allocations: 134.2 kB / 1.018 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.155, allocations: 256 / 1.018 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/1.155, allocations: 11.98 kB / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.155, allocations: 0 / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.155, allocations: 0 / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.155, allocations: 0 / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.155, allocations: 0 / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001599/1.155, allocations: 67.36 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/1.155, allocations: 85.08 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.155, allocations: 7.906 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/1.155, allocations: 0 / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/1.155, allocations: 7.938 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/1.155, allocations: 3.938 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.085e-05/1.155, allocations: 86.39 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004184/1.156, allocations: 0 / 1.019 GB, free: 4.309 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.000233/1.156, allocations: 103.3 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.156, allocations: 4 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.156, allocations: 0 / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/1.156, allocations: 7.5 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/1.157, allocations: 0 / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/1.157, allocations: 55.03 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/1.158, allocations: 0.688 MB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of SimCode: time 1.173e-06/1.158, allocations: 8.062 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of Templates: time 0.00367/1.161, allocations: 285 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB