Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",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.003716/0.003716, allocations: 185.7 kB / 7.464 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7144/0.7144, allocations: 133.5 MB / 141.4 MB, free: 15.74 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 97.36 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5367/0.5381, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.7502, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.365/2.115, allocations: 382.2 MB / 1.007 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/2.116, allocations: 96.62 kB / 1.007 GB, free: 251.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 6.307/8.423, allocations: 1.654 GB / 2.661 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/8.423, allocations: 7.531 kB / 2.661 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/8.428, allocations: 0.5315 MB / 2.661 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04789/8.476, allocations: 18.32 MB / 2.679 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/8.476, allocations: 89.16 kB / 2.679 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/8.478, allocations: 177.4 kB / 2.679 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008953/8.487, allocations: 3.596 MB / 2.683 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/8.499, allocations: 3.955 MB / 2.687 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/8.499, allocations: 13.5 kB / 2.687 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005895/8.5, allocations: 6.188 kB / 2.687 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/8.5, allocations: 146.2 kB / 2.687 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/8.536, allocations: 19.64 MB / 2.706 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/8.54, allocations: 2.606 MB / 2.709 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/8.542, allocations: 1.363 MB / 2.71 GB, free: 73.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/8.542, allocations: 0.5399 MB / 2.711 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.824e-05/8.542, allocations: 60.19 kB / 2.711 GB, free: 72.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=184): time 4.228e-06/8.542, allocations: 3.75 kB / 2.711 GB, free: 72.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=184): time 0.007504/8.55, allocations: 3.086 MB / 2.714 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/8.55, allocations: 73.17 kB / 2.714 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008689/8.559, allocations: 2.978 MB / 2.717 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009391/8.56, allocations: 29.33 kB / 2.717 GB, free: 70.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/8.561, allocations: 1.202 MB / 2.718 GB, free: 69.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/8.563, allocations: 0.6064 MB / 2.718 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/8.563, allocations: 0 / 2.718 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001905/8.563, allocations: 415.4 kB / 2.719 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/8.565, allocations: 1.262 MB / 2.72 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/8.568, allocations: 1.914 MB / 2.722 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/8.571, allocations: 1.676 MB / 2.724 GB, free: 66.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/8.571, allocations: 6.969 kB / 2.724 GB, free: 66.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008105/8.579, allocations: 4.039 MB / 2.727 GB, free: 65.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00151/8.581, allocations: 7.271 MB / 2.735 GB, free: 57.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/8.581, allocations: 14.84 kB / 2.735 GB, free: 57.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003221/8.584, allocations: 1.043 MB / 2.736 GB, free: 57.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/8.586, allocations: 499.1 kB / 2.736 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/8.593, allocations: 4.945 MB / 2.741 GB, free: 54.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005567/8.599, allocations: 367.3 kB / 2.741 GB, free: 54.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000723/8.6, allocations: 128.4 kB / 2.741 GB, free: 54.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/8.6, allocations: 4.219 kB / 2.741 GB, free: 54.08 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008432/8.608, allocations: 3.456 MB / 2.745 GB, free: 53.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/8.608, allocations: 17.78 kB / 2.745 GB, free: 53.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004706/8.613, allocations: 1.12 MB / 2.746 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/8.615, allocations: 482 kB / 2.746 GB, free: 52.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/8.62, allocations: 3.589 MB / 2.75 GB, free: 50.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/8.625, allocations: 305.7 kB / 2.75 GB, free: 50.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004595/8.625, allocations: 118.1 kB / 2.75 GB, free: 50.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.001103/8.626, allocations: 169.2 kB / 2.75 GB, free: 50.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/8.628, allocations: 332.8 kB / 2.751 GB, free: 50.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00704/8.635, allocations: 3.194 MB / 2.754 GB, free: 48.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/8.635, allocations: 19.91 kB / 2.754 GB, free: 48.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/8.635, allocations: 4 kB / 2.754 GB, free: 48.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003541/8.639, allocations: 2.584 MB / 2.756 GB, free: 46.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/8.653, allocations: 6.647 MB / 2.763 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/8.653, allocations: 2.375 kB / 2.763 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/8.654, allocations: 285.8 kB / 2.763 GB, free: 41.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/8.658, allocations: 0.9754 MB / 2.764 GB, free: 40.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/8.658, allocations: 21.3 kB / 2.764 GB, free: 40.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006939/8.665, allocations: 9.718 MB / 2.774 GB, free: 30.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/8.665, allocations: 6.672 kB / 2.774 GB, free: 30.37 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007736/8.673, allocations: 4.71 MB / 2.778 GB, free: 26.19 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009114/8.682, allocations: 6.776 MB / 2.785 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/8.685, allocations: 0.8245 MB / 2.786 GB, free: 18.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/8.686, allocations: 4 kB / 2.786 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/8.689, allocations: 184.5 kB / 2.786 GB, free: 18.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/8.689, allocations: 104.4 kB / 2.786 GB, free: 18.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/8.689, allocations: 83.94 kB / 2.786 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003664/8.693, allocations: 2.275 MB / 2.788 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01175/8.705, allocations: 2.33 MB / 2.791 GB, free: 13.92 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.001864/8.707, allocations: 0.6737 MB / 2.791 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009119/8.716, allocations: 4.867 MB / 2.796 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/8.716, allocations: 6.906 kB / 2.796 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/8.718, allocations: 1.782 MB / 2.798 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009474/8.728, allocations: 1.64 MB / 2.799 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/8.744, allocations: 6.633 MB / 2.806 GB, free: 14.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004774/8.749, allocations: 3.328 MB / 2.809 GB, free: 11.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/8.749, allocations: 3.938 kB / 2.809 GB, free: 11.27 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)