Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IBPSA_latest_IBPSA_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.001355/0.001355, allocations: 193.4 kB / 7.808 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5649/0.5649, allocations: 90.85 MB / 99.07 MB, free: 14.77 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.4 MB / 342.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009734, allocations: 105.4 kB / 415.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.188/0.189, allocations: 78.44 MB / 494 MB, free: 7.926 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.6382, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/1.359, allocations: 372.5 MB / 0.9167 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.36, allocations: 94.7 kB / 0.9168 GB, free: 15.25 MB / 0.5886 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.77/7.13, allocations: 1.673 GB / 2.59 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/7.13, allocations: 12 kB / 2.59 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/7.135, allocations: 0.5255 MB / 2.59 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.346/7.481, allocations: 18.32 MB / 2.608 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/7.481, allocations: 91.78 kB / 2.608 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/7.482, allocations: 180.6 kB / 2.609 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006928/7.489, allocations: 3.601 MB / 2.612 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007109/7.496, allocations: 3.959 MB / 2.616 GB, free: 119 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-05/7.496, allocations: 8.812 kB / 2.616 GB, free: 119 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/7.497, allocations: 8.344 kB / 2.616 GB, free: 119 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/7.497, allocations: 145 kB / 2.616 GB, free: 119 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02704/7.524, allocations: 19.63 MB / 2.635 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/7.528, allocations: 2.605 MB / 2.638 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/7.53, allocations: 1.359 MB / 2.639 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/7.53, allocations: 0.5391 MB / 2.64 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/7.53, allocations: 64.7 kB / 2.64 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=184): time 4.027e-06/7.53, allocations: 0 / 2.64 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=184): time 0.007402/7.538, allocations: 3.087 MB / 2.643 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/7.538, allocations: 74.53 kB / 2.643 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/7.543, allocations: 2.974 MB / 2.646 GB, free: 108.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008178/7.544, allocations: 32.08 kB / 2.646 GB, free: 108.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/7.545, allocations: 1.2 MB / 2.647 GB, free: 107.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/7.547, allocations: 0.6122 MB / 2.648 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/7.547, allocations: 0 / 2.648 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001771/7.547, allocations: 407.1 kB / 2.648 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/7.549, allocations: 1.262 MB / 2.649 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/7.551, allocations: 1.916 MB / 2.651 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/7.554, allocations: 1.675 MB / 2.653 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/7.554, allocations: 6.094 kB / 2.653 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008807/7.563, allocations: 4.034 MB / 2.657 GB, free: 105.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001664/7.565, allocations: 7.265 MB / 2.664 GB, free: 98.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/7.565, allocations: 18.88 kB / 2.664 GB, free: 98.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/7.568, allocations: 1.043 MB / 2.665 GB, free: 98.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/7.571, allocations: 0.5001 MB / 2.665 GB, free: 98.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/7.577, allocations: 4.946 MB / 2.67 GB, free: 95.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005219/7.583, allocations: 367.5 kB / 2.67 GB, free: 95.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006673/7.583, allocations: 125.1 kB / 2.671 GB, free: 95.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/7.583, allocations: 7.312 kB / 2.671 GB, free: 95.36 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006919/7.59, allocations: 3.458 MB / 2.674 GB, free: 95.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/7.59, allocations: 18.25 kB / 2.674 GB, free: 95.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/7.595, allocations: 1.12 MB / 2.675 GB, free: 95.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/7.597, allocations: 475.3 kB / 2.675 GB, free: 95.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004985/7.602, allocations: 3.596 MB / 2.679 GB, free: 93.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/7.607, allocations: 305.4 kB / 2.679 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/7.607, allocations: 112.3 kB / 2.679 GB, free: 93.57 MB / 0.6198 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.0008603/7.608, allocations: 167.2 kB / 2.68 GB, free: 93.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/7.61, allocations: 340.4 kB / 2.68 GB, free: 93.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006149/7.616, allocations: 3.2 MB / 2.683 GB, free: 93.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/7.616, allocations: 18.72 kB / 2.683 GB, free: 93.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/7.616, allocations: 0 / 2.683 GB, free: 93.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004079/7.62, allocations: 2.583 MB / 2.686 GB, free: 92.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/7.636, allocations: 6.64 MB / 2.692 GB, free: 92.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/7.636, allocations: 2.625 kB / 2.692 GB, free: 92.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/7.637, allocations: 285.2 kB / 2.692 GB, free: 92.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003502/7.641, allocations: 0.975 MB / 2.693 GB, free: 92.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/7.641, allocations: 21.81 kB / 2.693 GB, free: 92.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007555/7.649, allocations: 9.722 MB / 2.703 GB, free: 84.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/7.649, allocations: 0 / 2.703 GB, free: 84.65 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008504/7.657, allocations: 4.726 MB / 2.707 GB, free: 84.09 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01044/7.668, allocations: 6.763 MB / 2.714 GB, free: 83.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003087/7.671, allocations: 0.8292 MB / 2.715 GB, free: 82.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001466/7.672, allocations: 10.3 kB / 2.715 GB, free: 82.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00373/7.676, allocations: 183 kB / 2.715 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/7.676, allocations: 100.3 kB / 2.715 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/7.677, allocations: 87.03 kB / 2.715 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.00501/7.682, allocations: 2.275 MB / 2.717 GB, free: 82.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01457/7.696, allocations: 2.339 MB / 2.72 GB, free: 82.43 MB / 0.6198 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.002144/7.699, allocations: 0.6656 MB / 2.72 GB, free: 82.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01078/7.709, allocations: 4.862 MB / 2.725 GB, free: 82.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/7.709, allocations: 3.969 kB / 2.725 GB, free: 82.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/7.713, allocations: 1.788 MB / 2.727 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/7.723, allocations: 1.644 MB / 2.728 GB, free: 81.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/7.745, allocations: 6.624 MB / 2.735 GB, free: 80.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007114/7.752, allocations: 3.318 MB / 2.738 GB, free: 79.71 MB / 0.6198 GB Notification: Performance of SimCode: time 2.074e-06/7.752, allocations: 0.9375 kB / 2.738 GB, free: 79.71 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)