Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") [: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.493/1.493, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001104/0.001104, allocations: 177.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.224/1.224, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0008881/0.0008882, allocations: 84.95 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.524e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.492, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.648, allocations: 138.5 MB / 1.108 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.6483, allocations: 91.86 kB / 1.108 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003871/0.6522, allocations: 1.11 MB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.6522, allocations: 0 / 1.109 GB, free: 8.781 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000385/0.6526, allocations: 358.3 kB / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6526, allocations: 8.031 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.6527, allocations: 7.984 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.6529, allocations: 195.7 kB / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.6529, allocations: 0 / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.653, allocations: 7.984 kB / 1.11 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.15e-05/0.6531, allocations: 19.98 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.6531, allocations: 41.61 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6532, allocations: 0.75 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.6532, allocations: 0 / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6532, allocations: 0 / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.6536, allocations: 269.4 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.6537, allocations: 50.5 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.6537, allocations: 12.86 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.6537, allocations: 0 / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.6538, allocations: 30.56 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.6538, allocations: 4.938 kB / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.654, allocations: 49.69 kB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.654, allocations: 51.41 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.6541, allocations: 105.5 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6541, allocations: 29.7 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.6542, allocations: 92.06 kB / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.6542, allocations: 8.469 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.6542, allocations: 0 / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6543, allocations: 329.2 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.6543, allocations: 8 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.6544, allocations: 12 kB / 1.111 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.6544, allocations: 8 kB / 1.111 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6544, allocations: 4 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.982e-05/0.6545, allocations: 62.16 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6545, allocations: 4 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6545, allocations: 0 / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6546, allocations: 0 / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6547, allocations: 19.98 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.6547, allocations: 0 / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.6548, allocations: 9.406 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.6548, allocations: 11.91 kB / 1.111 GB, free: 6.816 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 (5): * Single equations (assignments): 5 * 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 6.645e-05/0.6549, allocations: 104.9 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.655, allocations: 7.906 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.6551, allocations: 57.67 kB / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6551, allocations: 0 / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6551, allocations: 0 / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6551, allocations: 8 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.6553, allocations: 142.2 kB / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6553, allocations: 4 kB / 1.111 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.6554, allocations: 15.98 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6554, allocations: 0 / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.6554, allocations: 3.906 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6554, allocations: 1.781 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6554, allocations: 0 / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001733/0.6556, allocations: 167.4 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.6557, allocations: 85.14 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.6557, allocations: 4.047 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.6558, allocations: 11.94 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.6558, allocations: 11.97 kB / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.6558, allocations: 4.062 kB / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.099e-05/0.6559, allocations: 87.28 kB / 1.111 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002095/0.6561, allocations: 7.938 kB / 1.111 GB, free: 6.012 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001347/0.6562, allocations: 105.4 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.313e-05/0.6563, allocations: 27.94 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6563, allocations: 0 / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.6564, allocations: 8 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.6566, allocations: 12 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.6569, allocations: 84.3 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.6572, allocations: 0.6993 MB / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6572, allocations: 0 / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of Templates: time 0.002415/0.6596, allocations: 0.5682 MB / 1.113 GB, free: 4.492 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)