Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",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.007211/0.00721, allocations: 182.6 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06088/0.06088, allocations: 8.704 MB / 16.57 MB, free: 492 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.366/2.366, allocations: 221.4 MB / 240.5 MB, free: 8.219 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.001359/0.001358, allocations: 91.5 kB / 293.5 MB, free: 5.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.24/0.2414, allocations: 58.67 MB / 352.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.8008, allocations: 52.54 MB / 404.7 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.9727, allocations: 77.56 MB / 482.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.9731, allocations: 59.97 kB / 482.3 MB, free: 13.02 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.01689/0.99, allocations: 5.412 MB / 487.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.9901, allocations: 8 kB / 487.8 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.9902, allocations: 39.53 kB / 487.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/0.991, allocations: 315.5 kB / 488.1 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.991, allocations: 12 kB / 488.1 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.9912, allocations: 23.91 kB / 488.1 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000743/0.9919, allocations: 317.2 kB / 488.4 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.9926, allocations: 316.8 kB / 488.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.9926, allocations: 0 / 488.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.9927, allocations: 7.922 kB / 488.8 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.9927, allocations: 12.66 kB / 488.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.9949, allocations: 1.361 MB / 490.1 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.9955, allocations: 285.7 kB / 490.4 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.9958, allocations: 184.7 kB / 490.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.9959, allocations: 0 / 490.6 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.9959, allocations: 34.56 kB / 490.6 MB, free: 4.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.515e-06/0.9959, allocations: 0 / 490.6 MB, free: 4.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009314/0.9969, allocations: 377.5 kB / 491 MB, free: 4.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.9969, allocations: 51.41 kB / 491 MB, free: 4.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.9972, allocations: 189.2 kB / 491.2 MB, free: 3.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.9972, allocations: 25.7 kB / 491.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.9973, allocations: 156.2 kB / 491.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.9974, allocations: 82.84 kB / 491.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.9975, allocations: 0 / 491.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.9977, allocations: 330.8 kB / 491.8 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.9978, allocations: 111.9 kB / 491.9 MB, free: 3.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.9981, allocations: 104 kB / 492 MB, free: 3.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.9983, allocations: 145.4 kB / 492.2 MB, free: 2.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.9983, allocations: 3.906 kB / 492.2 MB, free: 2.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000805/0.9991, allocations: 404.6 kB / 492.6 MB, free: 2.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9992, allocations: 8 kB / 492.6 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9992, allocations: 0 / 492.6 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/0.9997, allocations: 134.4 kB / 492.7 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/1, allocations: 39.98 kB / 492.7 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/1.005, allocations: 4.474 MB / 497.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/1.005, allocations: 27.89 kB / 497.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/1.005, allocations: 4 kB / 497.2 MB, free: 13.48 MB / 378.7 MB 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/1.005, allocations: 108.8 kB / 497.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/1.006, allocations: 23.81 kB / 497.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-05/1.006, allocations: 29.73 kB / 497.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.006, allocations: 4 kB / 497.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.006, allocations: 4 kB / 497.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.006, allocations: 0 / 497.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/1.006, allocations: 365.8 kB / 497.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.006, allocations: 7.844 kB / 497.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/1.007, allocations: 39.98 kB / 497.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/1.007, allocations: 138.4 kB / 498 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/1.007, allocations: 0 / 498 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/1.012, allocations: 4.482 MB / 0.4907 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.012, allocations: 0 / 0.4907 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001179/1.013, allocations: 0.6454 MB / 0.4913 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001353/1.014, allocations: 1.182 MB / 0.4924 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.014, allocations: 104.8 kB / 0.4925 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/1.014, allocations: 4 kB / 0.4925 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/1.015, allocations: 15.92 kB / 0.4926 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/1.015, allocations: 15.97 kB / 0.4926 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/1.015, allocations: 4 kB / 0.4926 GB, free: 5.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002229/1.015, allocations: 152.2 kB / 0.4927 GB, free: 5.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001458/1.016, allocations: 111.6 kB / 0.4928 GB, free: 5.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002566/1.017, allocations: 103.2 kB / 0.4929 GB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/1.018, allocations: 0.5894 MB / 0.4935 GB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.018, allocations: 4 kB / 0.4935 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009286/1.019, allocations: 469.2 kB / 0.494 GB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/1.02, allocations: 31.98 kB / 0.494 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/1.022, allocations: 0.6862 MB / 0.4947 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.023, allocations: 0.8702 MB / 0.4955 GB, free: 2.723 MB / 378.7 MB Notification: Performance of SimCode: time 2.114e-06/1.023, allocations: 0 / 0.4955 GB, free: 2.723 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_TestLongRod_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)