Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_dev_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.003943/0.003943, allocations: 177.5 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7075/0.7075, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.546/1.546, allocations: 221.3 MB / 395 MB, free: 10.19 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.001017/0.001017, allocations: 88.59 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5683/0.5693, allocations: 88.44 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.7939, allocations: 82.29 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/2.087, allocations: 382.2 MB / 1.007 GB, free: 252.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004803/2.087, allocations: 95.3 kB / 1.007 GB, free: 252.2 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 5.939/8.026, allocations: 1.654 GB / 2.661 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/8.026, allocations: 14.44 kB / 2.661 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/8.03, allocations: 0.5285 MB / 2.661 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04233/8.072, allocations: 18.32 MB / 2.679 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/8.072, allocations: 89.66 kB / 2.679 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000927/8.073, allocations: 180.4 kB / 2.679 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005966/8.079, allocations: 3.599 MB / 2.683 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005876/8.085, allocations: 3.946 MB / 2.687 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.508e-05/8.085, allocations: 16.25 kB / 2.687 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003531/8.086, allocations: 10.03 kB / 2.687 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/8.086, allocations: 150.8 kB / 2.687 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02811/8.114, allocations: 19.63 MB / 2.706 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/8.118, allocations: 2.612 MB / 2.709 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/8.119, allocations: 1.355 MB / 2.71 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005025/8.12, allocations: 0.542 MB / 2.711 GB, free: 73.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/8.12, allocations: 61.5 kB / 2.711 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=184): time 4.067e-06/8.12, allocations: 0 / 2.711 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=184): time 0.007107/8.127, allocations: 3.097 MB / 2.714 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/8.127, allocations: 70.84 kB / 2.714 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006648/8.134, allocations: 2.98 MB / 2.717 GB, free: 70.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/8.135, allocations: 28.83 kB / 2.717 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/8.136, allocations: 1.199 MB / 2.718 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/8.138, allocations: 0.6029 MB / 2.718 GB, free: 69.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/8.138, allocations: 1 kB / 2.718 GB, free: 69.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001955/8.138, allocations: 407.4 kB / 2.719 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/8.141, allocations: 1.266 MB / 2.72 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/8.143, allocations: 1.92 MB / 2.722 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/8.147, allocations: 1.67 MB / 2.724 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/8.147, allocations: 5.281 kB / 2.724 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008686/8.156, allocations: 4.035 MB / 2.727 GB, free: 65.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/8.157, allocations: 7.271 MB / 2.735 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/8.157, allocations: 17.06 kB / 2.735 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/8.16, allocations: 1.04 MB / 2.736 GB, free: 57.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/8.163, allocations: 0.4915 MB / 2.736 GB, free: 57.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/8.169, allocations: 4.952 MB / 2.741 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/8.174, allocations: 368.8 kB / 2.741 GB, free: 54.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005876/8.175, allocations: 122.7 kB / 2.741 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/8.175, allocations: 4.094 kB / 2.741 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007645/8.183, allocations: 3.466 MB / 2.745 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/8.183, allocations: 17.53 kB / 2.745 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004636/8.187, allocations: 1.113 MB / 2.746 GB, free: 53.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/8.19, allocations: 479.1 kB / 2.746 GB, free: 53.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/8.194, allocations: 3.598 MB / 2.75 GB, free: 50.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/8.199, allocations: 303.8 kB / 2.75 GB, free: 50.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/8.199, allocations: 116.6 kB / 2.75 GB, free: 50.73 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.001168/8.2, allocations: 167.2 kB / 2.75 GB, free: 50.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/8.202, allocations: 333.8 kB / 2.751 GB, free: 50.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006835/8.209, allocations: 3.192 MB / 2.754 GB, free: 49.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/8.209, allocations: 19.34 kB / 2.754 GB, free: 49.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/8.209, allocations: 5.156 kB / 2.754 GB, free: 49.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003766/8.212, allocations: 2.586 MB / 2.756 GB, free: 47.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/8.227, allocations: 6.646 MB / 2.763 GB, free: 41.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/8.227, allocations: 0.5156 kB / 2.763 GB, free: 41.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/8.228, allocations: 279.6 kB / 2.763 GB, free: 41.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/8.231, allocations: 0.9841 MB / 2.764 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/8.232, allocations: 20.83 kB / 2.764 GB, free: 40.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006648/8.238, allocations: 9.715 MB / 2.774 GB, free: 30.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/8.238, allocations: 4 kB / 2.774 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007772/8.246, allocations: 4.715 MB / 2.778 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009033/8.255, allocations: 6.775 MB / 2.785 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003276/8.259, allocations: 0.8206 MB / 2.786 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/8.26, allocations: 11.98 kB / 2.786 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/8.262, allocations: 187.6 kB / 2.786 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/8.263, allocations: 100 kB / 2.786 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/8.263, allocations: 87.92 kB / 2.786 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003551/8.266, allocations: 2.271 MB / 2.788 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01149/8.278, allocations: 2.334 MB / 2.791 GB, free: 14.45 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.001952/8.28, allocations: 0.6656 MB / 2.791 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01083/8.291, allocations: 4.878 MB / 2.796 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/8.291, allocations: 4 kB / 2.796 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/8.294, allocations: 1.782 MB / 2.798 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00958/8.303, allocations: 1.64 MB / 2.799 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/8.318, allocations: 6.627 MB / 2.806 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004483/8.322, allocations: 3.326 MB / 2.809 GB, free: 11.79 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/8.322, allocations: 0 / 2.809 GB, free: 11.79 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)