Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.932/3.932, allocations: 433 MB / 440.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6414/4.574, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/4.905, allocations: 98.72 MB / 0.6283 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/6.015, allocations: 433.3 MB / 1.051 GB, free: 3.254 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004805/6.016, allocations: 101.8 kB / 1.052 GB, free: 3.199 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 4.745/10.76, allocations: 0.9521 GB / 2.004 GB, free: 39.52 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/10.76, allocations: 8 kB / 2.004 GB, free: 39.51 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007721/10.77, allocations: 0.8012 MB / 2.004 GB, free: 38.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03225/10.8, allocations: 8.761 MB / 2.013 GB, free: 29.88 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-05/10.8, allocations: 40 kB / 2.013 GB, free: 29.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004601/10.8, allocations: 76 kB / 2.013 GB, free: 29.77 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003335/10.8, allocations: 0.9263 MB / 2.014 GB, free: 28.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/10.81, allocations: 1.199 MB / 2.015 GB, free: 27.52 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.647e-05/10.81, allocations: 3.938 kB / 2.015 GB, free: 27.52 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/10.81, allocations: 4 kB / 2.015 GB, free: 27.52 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/10.81, allocations: 39.91 kB / 2.015 GB, free: 27.48 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/10.83, allocations: 7.912 MB / 2.023 GB, free: 19.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/10.83, allocations: 0.6727 MB / 2.024 GB, free: 18.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000953/10.83, allocations: 367.1 kB / 2.024 GB, free: 17.97 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00866/10.84, allocations: 2.868 MB / 2.027 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009262/10.84, allocations: 391 kB / 2.027 GB, free: 14.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 4.128e-06/10.84, allocations: 0 / 2.027 GB, free: 14.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=65): time 0.003602/10.84, allocations: 0.8531 MB / 2.028 GB, free: 13.58 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/10.84, allocations: 115.5 kB / 2.028 GB, free: 13.45 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/10.85, allocations: 1.175 MB / 2.029 GB, free: 12.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000414/10.85, allocations: 25.7 kB / 2.029 GB, free: 12.24 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/10.85, allocations: 0.5987 MB / 2.03 GB, free: 11.63 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007453/10.85, allocations: 224.6 kB / 2.03 GB, free: 11.41 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/10.85, allocations: 0 / 2.03 GB, free: 11.41 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001877/10.85, allocations: 353.9 kB / 2.03 GB, free: 11.06 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/10.85, allocations: 326.5 kB / 2.031 GB, free: 10.74 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/10.85, allocations: 0.7522 MB / 2.031 GB, free: 9.785 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004267/10.86, allocations: 0.5026 MB / 2.032 GB, free: 9.281 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.829e-05/10.86, allocations: 4 kB / 2.032 GB, free: 9.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007691/10.86, allocations: 1.221 MB / 2.033 GB, free: 8.055 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/10.87, allocations: 4.599 MB / 2.038 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-05/10.87, allocations: 12 kB / 2.038 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.738e-05/10.87, allocations: 16 kB / 2.038 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003625/10.87, allocations: 299.5 kB / 2.038 GB, free: 2.742 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-05/10.87, allocations: 19.94 kB / 2.038 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004443/10.87, allocations: 198.8 kB / 2.038 GB, free: 2.527 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004603/10.87, allocations: 59.97 kB / 2.038 GB, free: 2.469 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/10.87, allocations: 10.91 kB / 2.038 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006053/10.88, allocations: 0.9865 MB / 2.039 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-05/10.88, allocations: 12 kB / 2.039 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/10.88, allocations: 20 kB / 2.039 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/10.88, allocations: 291.9 kB / 2.04 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.344e-05/10.88, allocations: 31.86 kB / 2.04 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/10.89, allocations: 171.1 kB / 2.04 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/10.89, allocations: 63.97 kB / 2.04 GB, free: 0.8984 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0006219/10.89, allocations: 136.6 kB / 2.04 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007817/10.89, allocations: 169.8 kB / 2.04 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007855/10.9, allocations: 1.154 MB / 2.041 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.825e-05/10.9, allocations: 19.67 kB / 2.041 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/10.9, allocations: 4 kB / 2.041 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005166/10.9, allocations: 0.9872 MB / 2.042 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/10.92, allocations: 2.236 MB / 2.044 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/10.92, allocations: 0 / 2.044 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/10.92, allocations: 183.8 kB / 2.045 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/10.92, allocations: 7.938 kB / 2.045 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/10.92, allocations: 19.97 kB / 2.045 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/10.92, allocations: 0 / 2.045 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/10.92, allocations: 4 kB / 2.045 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008029/10.93, allocations: 1.49 MB / 2.046 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0109/10.94, allocations: 2.421 MB / 2.048 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/10.94, allocations: 338.7 kB / 2.049 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007016/10.94, allocations: 0 / 2.049 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003567/10.95, allocations: 123.8 kB / 2.049 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/10.95, allocations: 52.48 kB / 2.049 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/10.95, allocations: 31.97 kB / 2.049 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.004044/10.95, allocations: 0.8723 MB / 2.05 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0163/10.97, allocations: 1.357 MB / 2.051 GB, free: 5.102 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.005337/10.97, allocations: 1.178 MB / 2.052 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007521/10.98, allocations: 1.535 MB / 2.054 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/10.98, allocations: 4.062 kB / 2.054 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/10.98, allocations: 414.2 kB / 2.054 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009455/10.99, allocations: 0.6687 MB / 2.055 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4225/11.42, allocations: 2.762 MB / 2.057 GB, free: 171.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00215/11.42, allocations: 1.587 MB / 2.059 GB, free: 170.9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.623e-06/11.42, allocations: 3.625 kB / 2.059 GB, free: 170.9 MB / 0.8386 GB