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: "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) [: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.005001/0.005001, allocations: 182.9 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07721/0.07721, allocations: 8.71 MB / 16.58 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 2.57/2.57, allocations: 221.4 MB / 240.5 MB, free: 8.164 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.001647/0.001647, allocations: 102.2 kB / 293.5 MB, free: 7.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2421/0.2438, allocations: 58.66 MB / 352.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.9139, allocations: 52.53 MB / 404.7 MB, free: 27.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/1.093, allocations: 79.51 MB / 484.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.093, allocations: 63.97 kB / 484.3 MB, free: 11.39 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.0144/1.107, allocations: 3.604 MB / 487.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/1.107, allocations: 12 kB / 487.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/1.108, allocations: 23.72 kB / 487.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/1.108, allocations: 218.8 kB / 488.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/1.108, allocations: 11.94 kB / 488.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/1.108, allocations: 12 kB / 488.1 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003952/1.109, allocations: 107.5 kB / 488.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/1.109, allocations: 147.4 kB / 488.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/1.109, allocations: 0 / 488.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/1.109, allocations: 11.98 kB / 488.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/1.109, allocations: 4 kB / 488.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/1.111, allocations: 0.6899 MB / 489.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/1.111, allocations: 115.6 kB / 489.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/1.111, allocations: 48.86 kB / 489.3 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/1.111, allocations: 0 / 489.3 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/1.111, allocations: 90.84 kB / 489.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/1.111, allocations: 0 / 489.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005089/1.112, allocations: 134.3 kB / 489.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/1.112, allocations: 59.41 kB / 489.5 MB, free: 5.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/1.112, allocations: 150.3 kB / 489.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/1.112, allocations: 29.64 kB / 489.7 MB, free: 5.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.112, allocations: 128.3 kB / 489.8 MB, free: 5.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/1.113, allocations: 39.36 kB / 489.9 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/1.113, allocations: 0 / 489.9 MB, free: 5.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/1.113, allocations: 326.8 kB / 490.2 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/1.113, allocations: 32 kB / 490.2 MB, free: 5.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/1.113, allocations: 55.44 kB / 490.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/1.113, allocations: 35.92 kB / 490.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.113, allocations: 0 / 490.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004219/1.114, allocations: 162.2 kB / 490.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.114, allocations: 8 kB / 490.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.114, allocations: 0 / 490.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/1.114, allocations: 32.83 kB / 490.5 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/1.114, allocations: 24 kB / 490.5 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/1.116, allocations: 1.299 MB / 491.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/1.116, allocations: 19.88 kB / 491.9 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/1.116, allocations: 13.23 kB / 491.9 MB, free: 3.438 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 0.0001474/1.116, allocations: 106.7 kB / 492 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/1.116, allocations: 11.81 kB / 492 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/1.116, allocations: 21.41 kB / 492 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.116, allocations: 4 kB / 492 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.116, allocations: 0 / 492 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.116, allocations: 3.984 kB / 492 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/1.117, allocations: 225.9 kB / 492.2 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.117, allocations: 0 / 492.2 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.117, allocations: 27.98 kB / 492.3 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/1.117, allocations: 28.84 kB / 492.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.117, allocations: 0 / 492.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/1.119, allocations: 1.291 MB / 493.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.119, allocations: 7.922 kB / 493.6 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005639/1.119, allocations: 218.6 kB / 493.8 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007962/1.12, allocations: 0.6245 MB / 494.4 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/1.12, allocations: 100.9 kB / 494.5 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/1.12, allocations: 0 / 494.5 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/1.12, allocations: 16.11 kB / 494.5 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/1.121, allocations: 19.83 kB / 494.6 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/1.121, allocations: 7.938 kB / 494.6 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001298/1.121, allocations: 116.9 kB / 494.7 MB, free: 416 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001471/1.122, allocations: 52.11 kB / 494.7 MB, free: 364 kB / 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 0.0002232/1.122, allocations: 95.25 kB / 494.8 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005408/1.123, allocations: 197.7 kB / 495 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.123, allocations: 0 / 495 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/1.123, allocations: 153.6 kB / 495.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/1.124, allocations: 26.98 kB / 495.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.125, allocations: 272.6 kB / 495.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007024/1.126, allocations: 0.7544 MB / 496.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/1.126, allocations: 0 / 496.2 MB, free: 14.8 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Coupling_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Coupling.fmu > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1)