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.PrescribedOutlet.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.PrescribedOutlet,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",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.824/3.824, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5511/4.375, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/4.611, allocations: 98.73 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9662/5.577, allocations: 373.2 MB / 0.9927 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004442/5.578, allocations: 93.48 kB / 0.9928 GB, free: 14.29 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 4.336/9.913, allocations: 0.9002 GB / 1.893 GB, free: 123.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/9.913, allocations: 12.56 kB / 1.893 GB, free: 123.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006374/9.92, allocations: 0.6638 MB / 1.894 GB, free: 123.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007785/9.928, allocations: 1.501 MB / 1.895 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/9.928, allocations: 30.53 kB / 1.895 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006036/9.928, allocations: 65.78 kB / 1.895 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003656/9.932, allocations: 0.8453 MB / 1.896 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/9.936, allocations: 1.021 MB / 1.897 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/9.936, allocations: 1.594 kB / 1.897 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/9.936, allocations: 3.688 kB / 1.897 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/9.936, allocations: 26.81 kB / 1.897 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/9.956, allocations: 6.41 MB / 1.903 GB, free: 119.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/9.96, allocations: 0.8441 MB / 1.904 GB, free: 119 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/9.961, allocations: 467.3 kB / 1.905 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002135/9.963, allocations: 2.26 MB / 1.907 GB, free: 116.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/9.965, allocations: 0.6195 MB / 1.907 GB, free: 116 MB / 0.823 GB Notification: Performance of pre-optimization done (n=96): time 4.598e-06/9.965, allocations: 0 / 1.907 GB, free: 116 MB / 0.823 GB Notification: Performance of matching and sorting (n=96): time 0.005875/9.97, allocations: 1.313 MB / 1.909 GB, free: 115.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/9.971, allocations: 148.5 kB / 1.909 GB, free: 115.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/9.973, allocations: 0.896 MB / 1.91 GB, free: 115.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/9.973, allocations: 29.55 kB / 1.91 GB, free: 115 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/9.974, allocations: 466 kB / 1.91 GB, free: 114.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/9.974, allocations: 296.5 kB / 1.91 GB, free: 114.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/9.974, allocations: 6.531 kB / 1.91 GB, free: 114.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001144/9.974, allocations: 346.2 kB / 1.911 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/9.975, allocations: 388.3 kB / 1.911 GB, free: 114 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/9.977, allocations: 0.6373 MB / 1.912 GB, free: 113.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/9.981, allocations: 0.7163 MB / 1.912 GB, free: 113.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/9.981, allocations: 3.844 kB / 1.912 GB, free: 113.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006506/9.987, allocations: 1.449 MB / 1.914 GB, free: 112.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003924/9.988, allocations: 1.608 MB / 1.915 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/9.988, allocations: 3.438 kB / 1.915 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.422e-05/9.988, allocations: 18.34 kB / 1.915 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/9.991, allocations: 296.8 kB / 1.916 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/9.991, allocations: 8.75 kB / 1.916 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/9.994, allocations: 222.4 kB / 1.916 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/9.994, allocations: 58.28 kB / 1.916 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/9.994, allocations: 3.938 kB / 1.916 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005721/10, allocations: 1.253 MB / 1.917 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/10, allocations: 6.828 kB / 1.917 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/10, allocations: 8.312 kB / 1.917 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/10, allocations: 294.2 kB / 1.918 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/10, allocations: 7.656 kB / 1.918 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/10.01, allocations: 207.5 kB / 1.918 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/10.01, allocations: 60.52 kB / 1.918 GB, free: 110.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005386/10.01, allocations: 244.1 kB / 1.918 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/10.01, allocations: 153.5 kB / 1.918 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009003/10.02, allocations: 2.077 MB / 1.92 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/10.02, allocations: 18.86 kB / 1.92 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/10.02, allocations: 0 / 1.92 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/10.02, allocations: 3.984 kB / 1.92 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/10.03, allocations: 3.092 MB / 1.923 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/10.03, allocations: 2.719 kB / 1.923 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/10.03, allocations: 229.1 kB / 1.924 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/10.03, allocations: 4.562 kB / 1.924 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/10.03, allocations: 36.55 kB / 1.924 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/10.03, allocations: 5.688 kB / 1.924 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/10.03, allocations: 4.594 kB / 1.924 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008635/10.04, allocations: 2.496 MB / 1.926 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.011/10.05, allocations: 3.726 MB / 1.93 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/10.05, allocations: 393.8 kB / 1.93 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/10.05, allocations: 11.19 kB / 1.93 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002613/10.06, allocations: 168 kB / 1.93 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/10.06, allocations: 62.09 kB / 1.93 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/10.06, allocations: 51.78 kB / 1.93 GB, free: 103.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001608/10.06, allocations: 0.683 MB / 1.931 GB, free: 103.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007045/10.06, allocations: 1.132 MB / 1.932 GB, free: 102.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002923/10.07, allocations: 0.9755 MB / 1.933 GB, free: 102.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005076/10.07, allocations: 1.865 MB / 1.935 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/10.07, allocations: 0 / 1.935 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/10.07, allocations: 0.8011 MB / 1.936 GB, free: 100.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/10.08, allocations: 0.513 MB / 1.936 GB, free: 99.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009049/10.09, allocations: 2.447 MB / 1.939 GB, free: 97.35 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/10.09, allocations: 1.499 MB / 1.94 GB, free: 95.84 MB / 0.823 GB Notification: Performance of SimCode: time 1.383e-06/10.09, allocations: 0 / 1.94 GB, free: 95.84 MB / 0.823 GB