Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",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.007278/0.007277, allocations: 178.8 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.08229/0.08229, allocations: 8.702 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 2.478/2.478, allocations: 221.4 MB / 240.5 MB, free: 8.172 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.001906/0.001906, allocations: 106.2 kB / 293.5 MB, free: 5.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2688/0.2708, allocations: 58.67 MB / 352.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.8254, allocations: 52.54 MB / 404.7 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.9967, allocations: 76.84 MB / 481.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/0.9972, allocations: 64.88 kB / 481.6 MB, free: 13.74 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.006043/1.003, allocations: 1.694 MB / 483.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/1.003, allocations: 8 kB / 483.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/1.003, allocations: 15.81 kB / 483.3 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/1.004, allocations: 167 kB / 483.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/1.004, allocations: 0 / 483.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/1.004, allocations: 8 kB / 483.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003095/1.004, allocations: 55.92 kB / 483.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/1.004, allocations: 74.28 kB / 483.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.004, allocations: 3.906 kB / 483.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/1.004, allocations: 8 kB / 483.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/1.004, allocations: 4 kB / 483.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/1.006, allocations: 477.9 kB / 484.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/1.006, allocations: 61.7 kB / 484.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/1.006, allocations: 28.86 kB / 484.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/1.006, allocations: 4 kB / 484.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/1.006, allocations: 42.44 kB / 484.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/1.006, allocations: 0 / 484.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004411/1.007, allocations: 94.58 kB / 484.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.007, allocations: 55.41 kB / 484.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/1.007, allocations: 104.9 kB / 484.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/1.007, allocations: 25.7 kB / 484.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.007, allocations: 103.9 kB / 484.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/1.007, allocations: 23.66 kB / 484.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/1.007, allocations: 0 / 484.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/1.007, allocations: 318.7 kB / 485 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/1.007, allocations: 20 kB / 485 MB, free: 10.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/1.007, allocations: 33.66 kB / 485 MB, free: 10.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/1.008, allocations: 27.92 kB / 485 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.008, allocations: 0 / 485 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/1.008, allocations: 94.39 kB / 485.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.008, allocations: 4 kB / 485.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.008, allocations: 0 / 485.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/1.008, allocations: 28.88 kB / 485.2 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/1.008, allocations: 19.98 kB / 485.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/1.01, allocations: 1.26 MB / 486.4 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/1.01, allocations: 7.844 kB / 486.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/1.01, allocations: 4 kB / 486.5 MB, free: 8.578 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.01, allocations: 105 kB / 486.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/1.01, allocations: 7.906 kB / 486.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/1.01, allocations: 8.438 kB / 486.6 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.01, allocations: 4.281 kB / 486.6 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.01, allocations: 4 kB / 486.6 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.01, allocations: 0 / 486.6 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/1.01, allocations: 174.1 kB / 486.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.01, allocations: 0 / 486.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.01, allocations: 15.98 kB / 486.8 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.913e-05/1.01, allocations: 24.84 kB / 486.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/1.01, allocations: 0 / 486.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/1.012, allocations: 1.264 MB / 488.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.012, allocations: 0 / 488.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000444/1.012, allocations: 212.4 kB / 488.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007061/1.013, allocations: 0.6144 MB / 488.9 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/1.013, allocations: 93.08 kB / 489 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/1.013, allocations: 144 / 489 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/1.013, allocations: 0 / 489 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/1.013, allocations: 11.97 kB / 489 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.013, allocations: 0 / 489 MB, free: 5.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.256e-05/1.013, allocations: 83.28 kB / 489.1 MB, free: 5.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000865/1.014, allocations: 31.91 kB / 489.1 MB, free: 5.719 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/1.014, allocations: 99.23 kB / 489.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003789/1.015, allocations: 153.8 kB / 489.3 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.015, allocations: 0 / 489.3 MB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/1.015, allocations: 130 kB / 489.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/1.015, allocations: 8 kB / 489.5 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/1.016, allocations: 200.5 kB / 489.7 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/1.016, allocations: 0.7068 MB / 490.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/1.016, allocations: 0 / 490.4 MB, free: 4.352 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Network_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)