Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7825/0.7825, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 197.2 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.1 MB / 399.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 89.52 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4392/0.4405, allocations: 82.89 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.6562, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.986, allocations: 369.6 MB / 0.9819 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.987, allocations: 99.8 kB / 0.982 GB, free: 112.6 MB / 0.6198 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.296/8.283, allocations: 1.556 GB / 2.538 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/8.283, allocations: 8 kB / 2.538 GB, free: 40.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005898/8.289, allocations: 0.5217 MB / 2.539 GB, free: 40.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05007/8.339, allocations: 18.13 MB / 2.556 GB, free: 22.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/8.339, allocations: 92 kB / 2.556 GB, free: 22.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/8.341, allocations: 176 kB / 2.557 GB, free: 21.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01051/8.352, allocations: 3.549 MB / 2.56 GB, free: 18.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/8.366, allocations: 3.842 MB / 2.564 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002991/8.366, allocations: 7.938 kB / 2.564 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/8.368, allocations: 11.91 kB / 2.564 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/8.369, allocations: 137.4 kB / 2.564 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04426/8.413, allocations: 19.6 MB / 2.583 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/8.419, allocations: 2.596 MB / 2.586 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/8.422, allocations: 1.319 MB / 2.587 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/8.423, allocations: 387.5 kB / 2.587 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.932e-05/8.423, allocations: 52.56 kB / 2.587 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=180): time 9.448e-06/8.423, allocations: 0 / 2.587 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=180): time 0.01219/8.435, allocations: 3.448 MB / 2.591 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/8.436, allocations: 69.41 kB / 2.591 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4195/8.855, allocations: 2.934 MB / 2.594 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008816/8.856, allocations: 29.48 kB / 2.594 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/8.857, allocations: 1.204 MB / 2.595 GB, free: 149.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/8.858, allocations: 0.5955 MB / 2.595 GB, free: 149 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/8.859, allocations: 0 / 2.595 GB, free: 149 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001737/8.859, allocations: 409.1 kB / 2.596 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/8.861, allocations: 1.237 MB / 2.597 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/8.862, allocations: 1.903 MB / 2.599 GB, free: 148 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/8.865, allocations: 1.652 MB / 2.6 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/8.865, allocations: 5.969 kB / 2.601 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=310) (initialization): time 0.0079/8.873, allocations: 4.008 MB / 2.604 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001613/8.875, allocations: 7.242 MB / 2.611 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/8.875, allocations: 16.91 kB / 2.612 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/8.879, allocations: 1.045 MB / 2.613 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/8.882, allocations: 0.5586 MB / 2.613 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/8.889, allocations: 4.991 MB / 2.618 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/8.894, allocations: 361.9 kB / 2.618 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005901/8.895, allocations: 122.3 kB / 2.618 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/8.895, allocations: 9.125 kB / 2.618 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006156/8.901, allocations: 3.433 MB / 2.622 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/8.901, allocations: 15.75 kB / 2.622 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/8.905, allocations: 1.122 MB / 2.623 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/8.907, allocations: 474.2 kB / 2.623 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005081/8.912, allocations: 3.58 MB / 2.627 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004606/8.917, allocations: 290.5 kB / 2.627 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007757/8.918, allocations: 114.2 kB / 2.627 GB, free: 135.6 MB / 0.6667 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 (246): * Single equations (assignments): 241 * 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.001369/8.919, allocations: 178.7 kB / 2.627 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001964/8.921, allocations: 320.4 kB / 2.628 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007145/8.928, allocations: 3.493 MB / 2.631 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/8.928, allocations: 18.97 kB / 2.631 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/8.928, allocations: 6.953 kB / 2.631 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004151/8.933, allocations: 2.904 MB / 2.634 GB, free: 134 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/8.947, allocations: 6.657 MB / 2.64 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/8.947, allocations: 0 / 2.64 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/8.95, allocations: 368.9 kB / 2.641 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/8.953, allocations: 0.9239 MB / 2.642 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/8.953, allocations: 20.67 kB / 2.642 GB, free: 133 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00957/8.962, allocations: 10.96 MB / 2.652 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/8.962, allocations: 3.375 kB / 2.652 GB, free: 124 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008393/8.971, allocations: 4.857 MB / 2.657 GB, free: 123.1 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009481/8.98, allocations: 6.848 MB / 2.664 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003961/8.984, allocations: 0.7869 MB / 2.665 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/8.986, allocations: 6.906 kB / 2.665 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/8.989, allocations: 175.3 kB / 2.665 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/8.99, allocations: 93.88 kB / 2.665 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/8.99, allocations: 76.28 kB / 2.665 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.003863/8.994, allocations: 2.229 MB / 2.667 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01677/9.01, allocations: 2.289 MB / 2.669 GB, free: 121.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (137): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002518/9.013, allocations: 0.6775 MB / 2.67 GB, free: 121.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01272/9.026, allocations: 4.871 MB / 2.675 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/9.026, allocations: 3.938 kB / 2.675 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004615/9.03, allocations: 1.862 MB / 2.677 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009677/9.04, allocations: 1.63 MB / 2.678 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/9.057, allocations: 6.47 MB / 2.685 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004239/9.061, allocations: 3.292 MB / 2.688 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.924e-06/9.061, allocations: 0 / 2.688 GB, free: 118.6 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)