Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.conf.json 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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") [: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/Complex 4.0.0+maint.om/package.mo): time 0.002256/0.002256, allocations: 179.5 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0385/0.0385, allocations: 8.698 MB / 16.57 MB, free: 436 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 221.4 MB / 240.5 MB, free: 8.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 89.11 kB / 293.5 MB, free: 7.434 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.702e-06/6.722e-06, allocations: 4 kB / 352.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1937, allocations: 52.54 MB / 404.6 MB, free: 27.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09408/0.2878, allocations: 79.5 MB / 484.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.288, allocations: 67.97 kB / 484.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.008991/0.297, allocations: 3.139 MB / 487.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2971, allocations: 4 kB / 487.3 MB, free: 8.211 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005477/0.2976, allocations: 473.8 kB / 487.8 MB, free: 7.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2977, allocations: 8.031 kB / 487.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.2977, allocations: 23.72 kB / 487.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.298, allocations: 222.8 kB / 488 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.298, allocations: 4 kB / 488 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.298, allocations: 12 kB / 488 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002225/0.2983, allocations: 107.5 kB / 488.2 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.2985, allocations: 155.2 kB / 488.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2985, allocations: 0 / 488.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2986, allocations: 4 kB / 488.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2986, allocations: 8 kB / 488.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009681/0.2995, allocations: 0.6861 MB / 489 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.2997, allocations: 106.8 kB / 489.1 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.2998, allocations: 60.78 kB / 489.2 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2999, allocations: 4 kB / 489.2 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.3, allocations: 71.41 kB / 489.2 MB, free: 6.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3, allocations: 4 kB / 489.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003477/0.3003, allocations: 134.3 kB / 489.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.3004, allocations: 59.34 kB / 489.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3005, allocations: 150.3 kB / 489.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3005, allocations: 29.7 kB / 489.6 MB, free: 5.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.3006, allocations: 128.3 kB / 489.7 MB, free: 5.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3007, allocations: 43.36 kB / 489.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.3007, allocations: 0 / 489.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3008, allocations: 322.8 kB / 490.1 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.3008, allocations: 31.94 kB / 490.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.3009, allocations: 63.44 kB / 490.2 MB, free: 5.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.301, allocations: 31.98 kB / 490.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.301, allocations: 0 / 490.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002832/0.3013, allocations: 156.9 kB / 490.4 MB, free: 4.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3013, allocations: 8 kB / 490.4 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3013, allocations: 0 / 490.4 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.3015, allocations: 40.91 kB / 490.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3016, allocations: 27.92 kB / 490.4 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3027, allocations: 1.296 MB / 491.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3028, allocations: 23.88 kB / 491.8 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3028, allocations: 4 kB / 491.8 MB, free: 3.398 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.235e-05/0.3029, allocations: 109.6 kB / 491.9 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3029, allocations: 15.81 kB / 491.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.303, allocations: 17.47 kB / 491.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.303, allocations: 0 / 491.9 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.303, allocations: 7.984 kB / 491.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.303, allocations: 0 / 491.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3032, allocations: 218 kB / 492.1 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3032, allocations: 0 / 492.1 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3033, allocations: 23.98 kB / 492.2 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.3034, allocations: 36.78 kB / 492.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3035, allocations: 0 / 492.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009468/0.3044, allocations: 1.307 MB / 493.5 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3044, allocations: 0 / 493.5 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003456/0.3048, allocations: 209.7 kB / 493.7 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.3049, allocations: 96.91 kB / 493.8 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3049, allocations: 4 kB / 493.8 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.305, allocations: 20.05 kB / 493.8 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.3051, allocations: 11.98 kB / 493.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3051, allocations: 4 kB / 493.8 MB, free: 1.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.342e-05/0.3052, allocations: 116.9 kB / 493.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.3055, allocations: 47.98 kB / 494 MB, free: 0.9727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.796e-05/0.3056, allocations: 108.1 kB / 494.1 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3059, allocations: 193.7 kB / 494.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3059, allocations: 0 / 494.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.306, allocations: 153.7 kB / 494.4 MB, free: 0.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.3063, allocations: 28.17 kB / 494.5 MB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.3068, allocations: 273.8 kB / 494.7 MB, free: 192 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.3071, allocations: 0.7468 MB / 495.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3071, allocations: 0 / 495.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of Templates: time 0.004483/0.3116, allocations: 1.924 MB / 497.4 MB, free: 13.52 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1)