Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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 loadModel(Buildings): time 3.855/3.855, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5984/4.453, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/4.692, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/10.2, allocations: 2.199 GB / 2.828 GB, free: 147.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/10.2, allocations: 89.78 kB / 2.828 GB, free: 147.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 4.615/14.81, allocations: 1.009 GB / 3.837 GB, free: 71.03 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/14.81, allocations: 8 kB / 3.837 GB, free: 71.02 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006862/14.82, allocations: 0.6414 MB / 3.837 GB, free: 70.38 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/14.82, allocations: 1.484 MB / 3.839 GB, free: 68.88 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006931/14.82, allocations: 122.2 kB / 3.839 GB, free: 68.76 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/14.82, allocations: 75.91 kB / 3.839 GB, free: 68.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00357/14.83, allocations: 1.032 MB / 3.84 GB, free: 67.65 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/14.83, allocations: 1.223 MB / 3.841 GB, free: 66.35 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/14.83, allocations: 0 / 3.841 GB, free: 66.35 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/14.83, allocations: 7.984 kB / 3.841 GB, free: 66.34 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/14.83, allocations: 46.14 kB / 3.841 GB, free: 66.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/14.85, allocations: 5.958 MB / 3.847 GB, free: 60.12 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/14.85, allocations: 0.6071 MB / 3.847 GB, free: 59.51 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/14.85, allocations: 487.5 kB / 3.848 GB, free: 59.03 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000943/14.85, allocations: 485.8 kB / 3.848 GB, free: 58.46 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/14.85, allocations: 0.5359 MB / 3.849 GB, free: 57.91 MB / 0.823 GB Notification: Performance of pre-optimization done (n=87): time 5.71e-06/14.85, allocations: 0 / 3.849 GB, free: 57.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.01472/14.87, allocations: 3.137 MB / 3.852 GB, free: 54.72 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/14.87, allocations: 192.7 kB / 3.852 GB, free: 54.49 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/14.87, allocations: 0.9175 MB / 3.853 GB, free: 53.57 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/14.87, allocations: 25.7 kB / 3.853 GB, free: 53.54 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/14.87, allocations: 497.5 kB / 3.854 GB, free: 53.04 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000458/14.87, allocations: 311.3 kB / 3.854 GB, free: 52.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/14.87, allocations: 0 / 3.854 GB, free: 52.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001016/14.87, allocations: 345.9 kB / 3.854 GB, free: 52.39 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/14.87, allocations: 381.9 kB / 3.855 GB, free: 52.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/14.87, allocations: 0.595 MB / 3.855 GB, free: 51.34 MB / 0.823 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.008112/14.88, allocations: 1.4 MB / 3.856 GB, free: 49.91 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/14.88, allocations: 224 / 3.856 GB, free: 49.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.009433/14.89, allocations: 1.615 MB / 3.858 GB, free: 48.29 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003922/14.89, allocations: 1.259 MB / 3.859 GB, free: 46.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/14.89, allocations: 4 kB / 3.859 GB, free: 46.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/14.89, allocations: 403.2 kB / 3.86 GB, free: 46.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/14.9, allocations: 179.8 kB / 3.86 GB, free: 46.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/14.91, allocations: 6.327 MB / 3.866 GB, free: 39.67 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/14.92, allocations: 127.8 kB / 3.866 GB, free: 39.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/14.92, allocations: 40.05 kB / 3.866 GB, free: 39.51 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/14.92, allocations: 4 kB / 3.866 GB, free: 39.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006553/14.92, allocations: 1.402 MB / 3.868 GB, free: 38.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/14.92, allocations: 4 kB / 3.868 GB, free: 38.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/14.92, allocations: 415.3 kB / 3.868 GB, free: 37.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/14.93, allocations: 159.7 kB / 3.868 GB, free: 37.51 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/14.94, allocations: 7.191 MB / 3.875 GB, free: 29.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/14.94, allocations: 112 kB / 3.875 GB, free: 29.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/14.94, allocations: 40.05 kB / 3.875 GB, free: 29.71 MB / 0.823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000483/14.94, allocations: 170.4 kB / 3.875 GB, free: 29.53 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/14.94, allocations: 154.1 kB / 3.876 GB, free: 29.38 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006539/14.95, allocations: 1.413 MB / 3.877 GB, free: 27.95 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/14.95, allocations: 8.219 kB / 3.877 GB, free: 27.95 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/14.95, allocations: 0 / 3.877 GB, free: 27.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005533/14.95, allocations: 1.288 MB / 3.878 GB, free: 26.62 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/14.96, allocations: 3.097 MB / 3.881 GB, free: 23.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/14.96, allocations: 8.094 kB / 3.881 GB, free: 23.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/14.97, allocations: 195.8 kB / 3.881 GB, free: 23.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/14.97, allocations: 185.6 kB / 3.882 GB, free: 23.05 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/14.97, allocations: 19.98 kB / 3.882 GB, free: 23.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/14.97, allocations: 2.403 MB / 3.884 GB, free: 20.49 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/14.97, allocations: 7.938 kB / 3.884 GB, free: 20.48 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007331/14.98, allocations: 2.352 MB / 3.886 GB, free: 17.95 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009432/14.99, allocations: 3.478 MB / 3.89 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/14.99, allocations: 355.1 kB / 3.89 GB, free: 13.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/14.99, allocations: 15.98 kB / 3.89 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/14.99, allocations: 131.7 kB / 3.89 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/14.99, allocations: 64.42 kB / 3.89 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/14.99, allocations: 43.97 kB / 3.89 GB, free: 13.65 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001681/15, allocations: 0.6992 MB / 3.891 GB, free: 12.95 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0107/15.01, allocations: 1.535 MB / 3.892 GB, free: 11.42 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005016/15.01, allocations: 2.639 MB / 3.895 GB, free: 8.871 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00569/15.02, allocations: 2.369 MB / 3.897 GB, free: 6.418 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/15.02, allocations: 0 / 3.897 GB, free: 6.418 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/15.02, allocations: 0.6627 MB / 3.898 GB, free: 5.742 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006898/15.03, allocations: 0.7036 MB / 3.899 GB, free: 5.039 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/15.04, allocations: 2.63 MB / 3.901 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/15.04, allocations: 1.505 MB / 3.903 GB, free: 0.793 MB / 0.823 GB Notification: Performance of SimCode: time 1.273e-06/15.04, allocations: 0 / 3.903 GB, free: 0.793 MB / 0.823 GB