Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.345/1.345, allocations: 289.8 MB / 297.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009915, allocations: 181.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 99.05 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.225e-06/8.325e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4415, allocations: 116.3 MB / 0.9726 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.5763, allocations: 137.7 MB / 1.107 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001628/0.5765, allocations: 68.45 kB / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001339/0.5778, allocations: 366.2 kB / 1.107 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.5779, allocations: 0 / 1.107 GB, free: 10.4 MB / 0.7136 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.000234/0.5781, allocations: 328.8 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5782, allocations: 12.03 kB / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.5782, allocations: 3.906 kB / 1.108 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/0.5783, allocations: 171 kB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.5783, allocations: 1.406 kB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.5783, allocations: 0 / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.152e-05/0.5784, allocations: 4 kB / 1.108 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.934e-05/0.5784, allocations: 33.69 kB / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.5784, allocations: 0 / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.5784, allocations: 3.906 kB / 1.108 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.5784, allocations: 0 / 1.108 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.5786, allocations: 134.2 kB / 1.108 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.633e-05/0.5786, allocations: 26.55 kB / 1.108 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.5786, allocations: 4.859 kB / 1.108 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.5787, allocations: 0 / 1.108 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.5787, allocations: 34.62 kB / 1.108 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.5787, allocations: 0 / 1.108 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001056/0.5788, allocations: 41.61 kB / 1.108 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.5788, allocations: 51.41 kB / 1.108 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.296e-05/0.5789, allocations: 94.67 kB / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5789, allocations: 29.7 kB / 1.108 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/0.5789, allocations: 84.14 kB / 1.108 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.579, allocations: 0 / 1.108 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.579, allocations: 0 / 1.108 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.5791, allocations: 314.8 kB / 1.109 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.5791, allocations: 8.031 kB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.5791, allocations: 4 kB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.528e-05/0.5791, allocations: 7.984 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5791, allocations: 0 / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.694e-05/0.5792, allocations: 33.61 kB / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.5792, allocations: 8 kB / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.5792, allocations: 0 / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.5792, allocations: 0 / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.5793, allocations: 8.031 kB / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.5793, allocations: 7.984 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.5793, allocations: 4 kB / 1.109 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.5794, allocations: 4 kB / 1.109 GB, free: 8.781 MB / 0.7136 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 5.603e-05/0.5794, allocations: 106.9 kB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.5794, allocations: 0 / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.5795, allocations: 7.156 kB / 1.109 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5795, allocations: 0 / 1.109 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5795, allocations: 0 / 1.109 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.5795, allocations: 4 kB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.423e-05/0.5796, allocations: 134.1 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5796, allocations: 3.938 kB / 1.109 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.5796, allocations: 12.23 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5796, allocations: 0 / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5796, allocations: 4 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5796, allocations: 0 / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5796, allocations: 0 / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.485e-05/0.5797, allocations: 69.03 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.5798, allocations: 77.11 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.5798, allocations: 0 / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.5798, allocations: 4 kB / 1.109 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.5798, allocations: 0 / 1.109 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.5798, allocations: 4 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.021e-05/0.5799, allocations: 79.27 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001593/0.58, allocations: 8.031 kB / 1.109 GB, free: 8.195 MB / 0.7136 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.0001042/0.5802, allocations: 104.1 kB / 1.109 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.065e-05/0.5802, allocations: 11.94 kB / 1.109 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.5802, allocations: 0 / 1.109 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.5802, allocations: 4 kB / 1.109 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.763e-05/0.5803, allocations: 0 / 1.109 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.5805, allocations: 51.92 kB / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.5808, allocations: 0.692 MB / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of SimCode: time 1.443e-06/0.5808, allocations: 3.938 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.00157/0.5824, allocations: 291.1 kB / 1.11 GB, free: 6.996 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)