Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_7_0_0_Buildings_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/Buildings 7.0.1/package.mo): time 2.136/2.136, allocations: 248.6 MB / 255.9 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001588, allocations: 181.2 kB / 315.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 90.55 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4743/0.4757, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.6761, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.461/2.137, allocations: 401.5 MB / 1.276 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/2.138, allocations: 92.77 kB / 1.276 GB, free: 247.6 MB / 0.8542 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 7.31/9.448, allocations: 1.579 GB / 2.854 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/9.448, allocations: 8 kB / 2.854 GB, free: 48.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/9.453, allocations: 0.5178 MB / 2.855 GB, free: 48.26 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06381/9.517, allocations: 17.52 MB / 2.872 GB, free: 30.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/9.517, allocations: 92 kB / 2.872 GB, free: 30.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/9.519, allocations: 180 kB / 2.872 GB, free: 30.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01199/9.531, allocations: 3.607 MB / 2.876 GB, free: 26.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/9.545, allocations: 3.89 MB / 2.879 GB, free: 22.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/9.545, allocations: 11.84 kB / 2.879 GB, free: 22.81 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006911/9.545, allocations: 4 kB / 2.879 GB, free: 22.81 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/9.546, allocations: 145.4 kB / 2.88 GB, free: 22.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04244/9.588, allocations: 19.57 MB / 2.899 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007804/9.596, allocations: 2.607 MB / 2.901 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004697/9.601, allocations: 1.358 MB / 2.903 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008464/9.602, allocations: 0.5474 MB / 2.903 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.176e-05/9.602, allocations: 56.75 kB / 2.903 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=184): time 8.847e-06/9.602, allocations: 3.984 kB / 2.903 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=184): time 0.01343/9.615, allocations: 3.078 MB / 2.906 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/9.615, allocations: 73.41 kB / 2.906 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008937/9.624, allocations: 2.921 MB / 2.909 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008346/9.625, allocations: 29.7 kB / 2.909 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/9.627, allocations: 1.192 MB / 2.91 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001928/9.629, allocations: 0.6082 MB / 2.911 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/9.629, allocations: 0 / 2.911 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004459/9.63, allocations: 406.9 kB / 2.911 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/9.634, allocations: 1.262 MB / 2.913 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004931/9.639, allocations: 1.922 MB / 2.914 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4102/10.05, allocations: 1.665 MB / 2.916 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/10.05, allocations: 7.812 kB / 2.916 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01679/10.07, allocations: 4.027 MB / 2.92 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001797/10.07, allocations: 7.233 MB / 2.927 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.95e-05/10.07, allocations: 18.16 kB / 2.927 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009221/10.08, allocations: 1.034 MB / 2.928 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/10.08, allocations: 0.5048 MB / 2.929 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009736/10.09, allocations: 4.945 MB / 2.933 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007204/10.1, allocations: 368.2 kB / 2.934 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/10.1, allocations: 130.2 kB / 2.934 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/10.1, allocations: 3.719 kB / 2.934 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01177/10.11, allocations: 3.458 MB / 2.937 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-05/10.11, allocations: 15.09 kB / 2.937 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007489/10.12, allocations: 1.119 MB / 2.938 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004127/10.13, allocations: 481.8 kB / 2.939 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007772/10.13, allocations: 3.593 MB / 2.942 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005984/10.14, allocations: 304.9 kB / 2.943 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008682/10.14, allocations: 118.5 kB / 2.943 GB, free: 204 MB / 0.8855 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.000998/10.14, allocations: 161.2 kB / 2.943 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/10.14, allocations: 323.4 kB / 2.943 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/10.15, allocations: 3.192 MB / 2.946 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/10.15, allocations: 25 kB / 2.946 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/10.15, allocations: 0 / 2.946 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007985/10.16, allocations: 2.579 MB / 2.949 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/10.18, allocations: 6.584 MB / 2.955 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/10.18, allocations: 3.25 kB / 2.955 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/10.19, allocations: 285.6 kB / 2.956 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005995/10.19, allocations: 0.9818 MB / 2.957 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006111/10.19, allocations: 15.11 kB / 2.957 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/10.2, allocations: 9.721 MB / 2.966 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/10.2, allocations: 3.75 kB / 2.966 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01452/10.22, allocations: 4.716 MB / 2.971 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0176/10.24, allocations: 6.76 MB / 2.977 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00377/10.24, allocations: 0.8046 MB / 2.978 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00161/10.24, allocations: 10.91 kB / 2.978 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005279/10.25, allocations: 174.7 kB / 2.978 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006942/10.25, allocations: 101.4 kB / 2.978 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003815/10.25, allocations: 79.08 kB / 2.978 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.005631/10.25, allocations: 2.23 MB / 2.981 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01646/10.27, allocations: 2.324 MB / 2.983 GB, free: 193 MB / 0.8855 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.002345/10.27, allocations: 0.6656 MB / 2.983 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01631/10.29, allocations: 4.877 MB / 2.988 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/10.29, allocations: 192 / 2.988 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00458/10.29, allocations: 1.784 MB / 2.99 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01493/10.31, allocations: 1.636 MB / 2.992 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/10.34, allocations: 6.566 MB / 2.998 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007124/10.34, allocations: 3.3 MB / 3.001 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of SimCode: time 2.615e-06/10.34, allocations: 3.156 kB / 3.001 GB, free: 190.3 MB / 0.8855 GB