Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR",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 4.105/4.105, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5994/4.705, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/4.942, allocations: 98.73 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9723/5.914, allocations: 400.3 MB / 1.019 GB, free: 3.82 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/5.915, allocations: 88.77 kB / 1.019 GB, free: 3.777 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 2.87/8.785, allocations: 0.6019 GB / 1.621 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/8.785, allocations: 8 kB / 1.621 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006905/8.792, allocations: 0.681 MB / 1.622 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/8.798, allocations: 1.637 MB / 1.623 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/8.798, allocations: 109.4 kB / 1.624 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/8.798, allocations: 60 kB / 1.624 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002876/8.801, allocations: 0.9177 MB / 1.625 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/8.804, allocations: 0.9785 MB / 1.625 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/8.804, allocations: 3.938 kB / 1.625 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/8.804, allocations: 3.5 kB / 1.625 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/8.804, allocations: 27.98 kB / 1.626 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/8.817, allocations: 5.591 MB / 1.631 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/8.819, allocations: 0.6666 MB / 1.632 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/8.821, allocations: 412.4 kB / 1.632 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009869/8.822, allocations: 1.248 MB / 1.633 GB, free: 102.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/8.823, allocations: 0.4906 MB / 1.634 GB, free: 101.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 3.778e-06/8.823, allocations: 1.969 kB / 1.634 GB, free: 101.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.00314/8.826, allocations: 0.8649 MB / 1.635 GB, free: 100.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/8.826, allocations: 111.3 kB / 1.635 GB, free: 100.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/8.828, allocations: 1.01 MB / 1.636 GB, free: 99.58 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/8.829, allocations: 33.69 kB / 1.636 GB, free: 99.54 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/8.829, allocations: 446.2 kB / 1.636 GB, free: 99.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/8.83, allocations: 215.7 kB / 1.636 GB, free: 98.89 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/8.83, allocations: 0 / 1.636 GB, free: 98.89 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/8.83, allocations: 334 kB / 1.637 GB, free: 98.56 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009491/8.831, allocations: 341.5 kB / 1.637 GB, free: 98.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/8.832, allocations: 0.5933 MB / 1.638 GB, free: 97.54 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/8.833, allocations: 405.7 kB / 1.638 GB, free: 97.14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/8.834, allocations: 0 / 1.638 GB, free: 97.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003531/8.837, allocations: 0.9893 MB / 1.639 GB, free: 96.15 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/8.837, allocations: 1.17 MB / 1.64 GB, free: 94.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/8.837, allocations: 0 / 1.64 GB, free: 94.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/8.837, allocations: 11.98 kB / 1.64 GB, free: 94.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/8.84, allocations: 289.2 kB / 1.64 GB, free: 94.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/8.84, allocations: 7.938 kB / 1.64 GB, free: 94.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/8.844, allocations: 222.2 kB / 1.641 GB, free: 94.44 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/8.844, allocations: 47.97 kB / 1.641 GB, free: 94.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/8.844, allocations: 6.812 kB / 1.641 GB, free: 94.39 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002889/8.847, allocations: 0.8135 MB / 1.641 GB, free: 93.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/8.847, allocations: 3.984 kB / 1.641 GB, free: 93.58 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/8.847, allocations: 8 kB / 1.641 GB, free: 93.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/8.85, allocations: 288.7 kB / 1.642 GB, free: 93.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/8.85, allocations: 8 kB / 1.642 GB, free: 93.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/8.853, allocations: 210.3 kB / 1.642 GB, free: 93.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/8.854, allocations: 51.95 kB / 1.642 GB, free: 93.05 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003584/8.854, allocations: 132 kB / 1.642 GB, free: 92.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/8.855, allocations: 138.3 kB / 1.642 GB, free: 92.79 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/8.858, allocations: 1.072 MB / 1.643 GB, free: 91.71 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/8.859, allocations: 8 kB / 1.643 GB, free: 91.71 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/8.859, allocations: 3.938 kB / 1.643 GB, free: 91.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002533/8.861, allocations: 0.8853 MB / 1.644 GB, free: 90.79 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008049/8.869, allocations: 2.822 MB / 1.647 GB, free: 87.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/8.869, allocations: 4 kB / 1.647 GB, free: 87.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/8.872, allocations: 243.7 kB / 1.647 GB, free: 87.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/8.872, allocations: 8 kB / 1.647 GB, free: 87.61 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/8.872, allocations: 23.97 kB / 1.647 GB, free: 87.58 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/8.872, allocations: 11.94 kB / 1.647 GB, free: 87.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/8.872, allocations: 7.984 kB / 1.647 GB, free: 87.56 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004503/8.876, allocations: 1.894 MB / 1.649 GB, free: 85.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006114/8.883, allocations: 2.906 MB / 1.652 GB, free: 82.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/8.884, allocations: 440.1 kB / 1.652 GB, free: 81.95 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004194/8.884, allocations: 15.98 kB / 1.652 GB, free: 81.94 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/8.887, allocations: 171.8 kB / 1.652 GB, free: 81.77 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/8.888, allocations: 64.25 kB / 1.653 GB, free: 81.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/8.888, allocations: 35.98 kB / 1.653 GB, free: 81.67 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00166/8.889, allocations: 0.773 MB / 1.653 GB, free: 80.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006358/8.896, allocations: 1.053 MB / 1.654 GB, free: 79.84 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002095/8.898, allocations: 0.806 MB / 1.655 GB, free: 79.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003567/8.902, allocations: 1.343 MB / 1.656 GB, free: 77.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/8.902, allocations: 4 kB / 1.656 GB, free: 77.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/8.903, allocations: 479.9 kB / 1.657 GB, free: 77.29 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006104/8.909, allocations: 0.6069 MB / 1.657 GB, free: 76.71 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/8.916, allocations: 2 MB / 1.659 GB, free: 74.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/8.918, allocations: 1.415 MB / 1.661 GB, free: 73.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.693e-06/8.918, allocations: 0 / 1.661 GB, free: 73.2 MB / 0.823 GB