Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces") translateModel(BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.789/0.789, allocations: 141.8 MB / 149.1 MB, free: 1.973 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 173.3 kB / 181.9 MB, free: 1.5 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 436 MB, free: 6.191 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009824/0.0009823, allocations: 100.6 kB / 0.507 GB, free: 2.867 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 270 kB / 0.5884 GB, free: 47.9 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.027e-05, allocations: 0.9375 kB / 0.6759 GB, free: 59.96 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1925, allocations: 82.77 MB / 0.7567 GB, free: 1.348 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.3592, allocations: 108.1 MB / 0.8622 GB, free: 5.133 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3595, allocations: 71.95 kB / 0.8623 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.002468/0.362, allocations: 0.6813 MB / 0.863 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.362, allocations: 0 / 0.863 GB, free: 4.383 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002863/0.3623, allocations: 318.4 kB / 0.8633 GB, free: 4.027 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3624, allocations: 12.03 kB / 0.8633 GB, free: 4.016 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.3624, allocations: 0 / 0.8633 GB, free: 4.016 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3625, allocations: 163 kB / 0.8634 GB, free: 3.816 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3626, allocations: 4 kB / 0.8634 GB, free: 3.812 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.3626, allocations: 4 kB / 0.8634 GB, free: 3.809 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.689e-05/0.3626, allocations: 0 / 0.8634 GB, free: 3.809 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.935e-05/0.3627, allocations: 37.62 kB / 0.8635 GB, free: 3.766 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.3627, allocations: 0 / 0.8635 GB, free: 3.766 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3627, allocations: 0 / 0.8635 GB, free: 3.766 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3627, allocations: 0 / 0.8635 GB, free: 3.766 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.3629, allocations: 142.1 kB / 0.8636 GB, free: 3.59 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.363, allocations: 26.59 kB / 0.8636 GB, free: 3.555 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.363, allocations: 8.922 kB / 0.8637 GB, free: 3.543 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.3632, allocations: 97.09 kB / 0.8637 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3633, allocations: 30.56 kB / 0.8638 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3633, allocations: 0 / 0.8638 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0002269/0.3635, allocations: 37.72 kB / 0.8638 GB, free: 3.348 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3635, allocations: 55.41 kB / 0.8639 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.3636, allocations: 89 kB / 0.8639 GB, free: 3.188 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3636, allocations: 29.7 kB / 0.864 GB, free: 3.152 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.3637, allocations: 84.08 kB / 0.8641 GB, free: 3.066 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3637, allocations: 7.844 kB / 0.8641 GB, free: 3.059 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.3637, allocations: 0 / 0.8641 GB, free: 3.059 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3639, allocations: 318.8 kB / 0.8644 GB, free: 2.738 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.3639, allocations: 3.938 kB / 0.8644 GB, free: 2.734 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.3639, allocations: 8 kB / 0.8644 GB, free: 2.727 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.364, allocations: 15.89 kB / 0.8644 GB, free: 2.711 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.364, allocations: 0 / 0.8644 GB, free: 2.711 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.524e-05/0.3641, allocations: 37.69 kB / 0.8644 GB, free: 2.668 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3641, allocations: 8 kB / 0.8644 GB, free: 2.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3641, allocations: 0 / 0.8644 GB, free: 2.66 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3642, allocations: 0 / 0.8644 GB, free: 2.66 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.3642, allocations: 4 kB / 0.8644 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3642, allocations: 0 / 0.8644 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.3643, allocations: 4.094 kB / 0.8644 GB, free: 2.652 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3643, allocations: 0 / 0.8644 GB, free: 2.652 MB / 0.5419 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.23e-05/0.3644, allocations: 104.9 kB / 0.8645 GB, free: 2.543 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.3644, allocations: 4 kB / 0.8646 GB, free: 2.539 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.3645, allocations: 61.09 kB / 0.8646 GB, free: 2.477 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3646, allocations: 0 / 0.8646 GB, free: 2.477 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3646, allocations: 0 / 0.8646 GB, free: 2.477 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.3646, allocations: 0 / 0.8646 GB, free: 2.477 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.3647, allocations: 142.1 kB / 0.8647 GB, free: 2.301 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3647, allocations: 4 kB / 0.8647 GB, free: 2.297 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.3647, allocations: 4 kB / 0.8648 GB, free: 2.293 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3648, allocations: 0 / 0.8648 GB, free: 2.293 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3648, allocations: 4 kB / 0.8648 GB, free: 2.289 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3648, allocations: 4 kB / 0.8648 GB, free: 2.285 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3648, allocations: 0 / 0.8648 GB, free: 2.285 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001216/0.3649, allocations: 76.95 kB / 0.8648 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.365, allocations: 77.11 kB / 0.8649 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.365, allocations: 4 kB / 0.8649 GB, free: 2.094 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.365, allocations: 7.906 kB / 0.8649 GB, free: 2.086 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.365, allocations: 3.984 kB / 0.8649 GB, free: 2.082 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.365, allocations: 0 / 0.8649 GB, free: 2.082 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.35e-05/0.3651, allocations: 79.28 kB / 0.865 GB, free: 2.004 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001939/0.3653, allocations: 7.938 kB / 0.865 GB, free: 1.996 MB / 0.5419 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 (3): * Single equations (assignments): 3 * 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.0001715/0.3655, allocations: 111.2 kB / 0.8651 GB, free: 1.875 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.586e-05/0.3655, allocations: 8 kB / 0.8651 GB, free: 1.867 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3655, allocations: 8.062 kB / 0.8651 GB, free: 1.859 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.3656, allocations: 7.938 kB / 0.8651 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.3657, allocations: 0 / 0.8651 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.3659, allocations: 56.06 kB / 0.8652 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.3662, allocations: 0.688 MB / 0.8659 GB, free: 1.059 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.3662, allocations: 0 / 0.8659 GB, free: 1.059 MB / 0.5419 GB Notification: Performance of Templates: time 0.002339/0.3686, allocations: 451.6 kB / 0.8663 GB, free: 0.625 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.sim & ./BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatRadiation.Examples.HeatRadiationParallelSurfaces.pipe 2>&1)