Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",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.991/3.992, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3162/4.308, allocations: 104.4 MB / 0.5319 GB, free: 2.352 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5794/4.887, allocations: 98.68 MB / 0.6283 GB, free: 104 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.632/10.52, allocations: 2.182 GB / 2.81 GB, free: 201 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/10.52, allocations: 87.47 kB / 2.81 GB, free: 201 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.5126/11.03, allocations: 162.1 MB / 2.969 GB, free: 47.22 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/11.03, allocations: 12 kB / 2.969 GB, free: 47.21 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/11.03, allocations: 151.3 kB / 2.969 GB, free: 47.06 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/11.03, allocations: 411.2 kB / 2.969 GB, free: 46.62 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/11.03, allocations: 11.94 kB / 2.969 GB, free: 46.61 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/11.03, allocations: 16 kB / 2.969 GB, free: 46.59 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005614/11.04, allocations: 184.9 kB / 2.969 GB, free: 46.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/11.04, allocations: 237.8 kB / 2.97 GB, free: 46.17 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/11.04, allocations: 0 / 2.97 GB, free: 46.17 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/11.04, allocations: 0 / 2.97 GB, free: 46.17 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/11.04, allocations: 12.41 kB / 2.97 GB, free: 46.16 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/11.04, allocations: 1.253 MB / 2.971 GB, free: 44.78 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007433/11.04, allocations: 198.9 kB / 2.971 GB, free: 44.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/11.04, allocations: 84.75 kB / 2.971 GB, free: 44.49 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/11.04, allocations: 4.344 kB / 2.971 GB, free: 44.48 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/11.04, allocations: 30.56 kB / 2.971 GB, free: 44.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 2.896e-06/11.04, allocations: 0 / 2.971 GB, free: 44.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.00102/11.04, allocations: 234 kB / 2.971 GB, free: 44.21 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/11.04, allocations: 51.41 kB / 2.971 GB, free: 44.14 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/11.04, allocations: 243.6 kB / 2.972 GB, free: 43.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/11.04, allocations: 25.7 kB / 2.972 GB, free: 43.87 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/11.04, allocations: 164.1 kB / 2.972 GB, free: 43.71 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/11.04, allocations: 66.95 kB / 2.972 GB, free: 43.64 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/11.04, allocations: 0 / 2.972 GB, free: 43.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/11.04, allocations: 334.8 kB / 2.972 GB, free: 43.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/11.04, allocations: 59.98 kB / 2.972 GB, free: 43.25 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/11.04, allocations: 106.9 kB / 2.972 GB, free: 43.12 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/11.04, allocations: 83.03 kB / 2.972 GB, free: 43.04 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/11.04, allocations: 0 / 2.972 GB, free: 43.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004928/11.04, allocations: 221.1 kB / 2.973 GB, free: 42.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/11.04, allocations: 6.031 kB / 2.973 GB, free: 42.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/11.04, allocations: 0 / 2.973 GB, free: 42.81 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/11.04, allocations: 7.938 kB / 2.973 GB, free: 42.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/11.04, allocations: 43.98 kB / 2.973 GB, free: 42.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/11.04, allocations: 20.05 kB / 2.973 GB, free: 42.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/11.04, allocations: 19.75 kB / 2.973 GB, free: 42.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/11.04, allocations: 4 kB / 2.973 GB, free: 42.72 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001028/11.04, allocations: 105 kB / 2.973 GB, free: 42.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/11.04, allocations: 31.62 kB / 2.973 GB, free: 42.58 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/11.04, allocations: 34.08 kB / 2.973 GB, free: 42.54 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/11.04, allocations: 0 / 2.973 GB, free: 42.54 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/11.04, allocations: 4 kB / 2.973 GB, free: 42.54 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/11.04, allocations: 7.984 kB / 2.973 GB, free: 42.53 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/11.04, allocations: 361.8 kB / 2.973 GB, free: 42.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/11.04, allocations: 0 / 2.973 GB, free: 42.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/11.05, allocations: 35.98 kB / 2.973 GB, free: 42.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/11.05, allocations: 40.83 kB / 2.973 GB, free: 42.06 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/11.05, allocations: 4 kB / 2.973 GB, free: 42.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/11.05, allocations: 1.369 MB / 2.975 GB, free: 40.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/11.05, allocations: 3.938 kB / 2.975 GB, free: 40.57 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008534/11.05, allocations: 388.3 kB / 2.975 GB, free: 40.17 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001106/11.05, allocations: 0.8576 MB / 2.976 GB, free: 39.29 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/11.05, allocations: 132.7 kB / 2.976 GB, free: 39.14 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/11.05, allocations: 4 kB / 2.976 GB, free: 39.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/11.05, allocations: 11.92 kB / 2.976 GB, free: 39.13 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/11.05, allocations: 15.83 kB / 2.976 GB, free: 39.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/11.05, allocations: 8 kB / 2.976 GB, free: 39.11 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002839/11.05, allocations: 195.1 kB / 2.976 GB, free: 38.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001792/11.05, allocations: 215.8 kB / 2.976 GB, free: 38.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/11.05, allocations: 0.8148 MB / 2.977 GB, free: 37.89 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004577/11.05, allocations: 158.9 kB / 2.977 GB, free: 37.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/11.05, allocations: 3.938 kB / 2.977 GB, free: 37.73 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/11.05, allocations: 174.1 kB / 2.978 GB, free: 37.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/11.06, allocations: 168.4 kB / 2.978 GB, free: 37.39 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/11.06, allocations: 0.5508 MB / 2.978 GB, free: 36.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/11.06, allocations: 0.8381 MB / 2.979 GB, free: 35.94 MB / 0.823 GB Notification: Performance of SimCode: time 1.332e-06/11.06, allocations: 0 / 2.979 GB, free: 35.94 MB / 0.823 GB