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.ElectricReformulatedEIR.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.ElectricReformulatedEIR,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",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.19/4.19, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5974/4.787, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/5.026, allocations: 98.72 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/6.064, allocations: 400.3 MB / 1.019 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/6.064, allocations: 87.94 kB / 1.019 GB, free: 3.77 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.924/8.988, allocations: 0.6025 GB / 1.622 GB, free: 96.15 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/8.988, allocations: 8 kB / 1.622 GB, free: 96.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00694/8.995, allocations: 0.6913 MB / 1.622 GB, free: 95.49 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005991/9.001, allocations: 1.668 MB / 1.624 GB, free: 93.82 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/9.001, allocations: 109 kB / 1.624 GB, free: 93.71 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/9.002, allocations: 71.83 kB / 1.624 GB, free: 93.64 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003037/9.005, allocations: 0.9411 MB / 1.625 GB, free: 92.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/9.009, allocations: 0.9824 MB / 1.626 GB, free: 91.68 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/9.009, allocations: 3.984 kB / 1.626 GB, free: 91.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/9.009, allocations: 4 kB / 1.626 GB, free: 91.67 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.717e-05/9.009, allocations: 24 kB / 1.626 GB, free: 91.65 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/9.022, allocations: 5.649 MB / 1.632 GB, free: 85.76 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/9.025, allocations: 0.6834 MB / 1.632 GB, free: 85.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/9.026, allocations: 422.6 kB / 1.633 GB, free: 84.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/9.027, allocations: 1.243 MB / 1.634 GB, free: 83.14 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/9.029, allocations: 0.5101 MB / 1.634 GB, free: 82.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 6.372e-06/9.029, allocations: 0 / 1.634 GB, free: 82.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.003913/9.033, allocations: 0.9048 MB / 1.635 GB, free: 81.69 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/9.033, allocations: 119.3 kB / 1.635 GB, free: 81.55 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/9.035, allocations: 1.056 MB / 1.636 GB, free: 80.49 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002907/9.036, allocations: 29.7 kB / 1.637 GB, free: 80.45 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005805/9.036, allocations: 462.3 kB / 1.637 GB, free: 80 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000464/9.037, allocations: 205 kB / 1.637 GB, free: 79.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/9.037, allocations: 0 / 1.637 GB, free: 79.79 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/9.037, allocations: 337.9 kB / 1.637 GB, free: 79.46 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/9.038, allocations: 353.5 kB / 1.638 GB, free: 79.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/9.039, allocations: 0.6023 MB / 1.638 GB, free: 78.41 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/9.041, allocations: 435.2 kB / 1.639 GB, free: 77.98 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/9.041, allocations: 4 kB / 1.639 GB, free: 77.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003612/9.045, allocations: 1.037 MB / 1.64 GB, free: 76.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002503/9.045, allocations: 1.167 MB / 1.641 GB, free: 75.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/9.045, allocations: 4 kB / 1.641 GB, free: 75.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/9.045, allocations: 8 kB / 1.641 GB, free: 75.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/9.048, allocations: 291.6 kB / 1.641 GB, free: 75.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/9.048, allocations: 4 kB / 1.641 GB, free: 75.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/9.051, allocations: 227.1 kB / 1.641 GB, free: 75.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/9.051, allocations: 51.97 kB / 1.642 GB, free: 75.13 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/9.051, allocations: 4 kB / 1.642 GB, free: 75.13 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00313/9.055, allocations: 0.8597 MB / 1.642 GB, free: 74.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/9.055, allocations: 4 kB / 1.642 GB, free: 74.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/9.055, allocations: 4 kB / 1.642 GB, free: 74.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/9.057, allocations: 283.7 kB / 1.643 GB, free: 73.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/9.057, allocations: 11.92 kB / 1.643 GB, free: 73.97 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/9.062, allocations: 215.3 kB / 1.643 GB, free: 73.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004109/9.062, allocations: 47.34 kB / 1.643 GB, free: 73.72 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.0004643/9.063, allocations: 132.7 kB / 1.643 GB, free: 73.58 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006823/9.063, allocations: 138.3 kB / 1.643 GB, free: 73.45 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/9.07, allocations: 1.118 MB / 1.644 GB, free: 72.32 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/9.07, allocations: 15.98 kB / 1.644 GB, free: 72.31 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/9.07, allocations: 4 kB / 1.644 GB, free: 72.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004545/9.074, allocations: 0.9319 MB / 1.645 GB, free: 71.34 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/9.087, allocations: 2.885 MB / 1.648 GB, free: 68.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/9.088, allocations: 4 kB / 1.648 GB, free: 68.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/9.091, allocations: 244.1 kB / 1.648 GB, free: 68.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/9.091, allocations: 15.41 kB / 1.648 GB, free: 68.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/9.091, allocations: 23.97 kB / 1.648 GB, free: 68.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/9.091, allocations: 4 kB / 1.648 GB, free: 68.06 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/9.091, allocations: 4 kB / 1.648 GB, free: 68.06 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006513/9.098, allocations: 1.968 MB / 1.65 GB, free: 65.93 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009688/9.107, allocations: 3 MB / 1.653 GB, free: 62.76 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/9.109, allocations: 452 kB / 1.654 GB, free: 62.28 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006833/9.11, allocations: 11.89 kB / 1.654 GB, free: 62.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004261/9.114, allocations: 167.9 kB / 1.654 GB, free: 62.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004252/9.115, allocations: 64.31 kB / 1.654 GB, free: 62.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/9.115, allocations: 39.98 kB / 1.654 GB, free: 62 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.002823/9.118, allocations: 0.8016 MB / 1.655 GB, free: 61.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01001/9.128, allocations: 1.079 MB / 1.656 GB, free: 60.13 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.002961/9.131, allocations: 0.8058 MB / 1.656 GB, free: 59.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004975/9.136, allocations: 1.375 MB / 1.658 GB, free: 58.01 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/9.136, allocations: 0 / 1.658 GB, free: 58.01 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/9.138, allocations: 485.6 kB / 1.658 GB, free: 57.54 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00855/9.147, allocations: 0.6124 MB / 1.659 GB, free: 56.95 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/9.157, allocations: 2.07 MB / 1.661 GB, free: 54.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003221/9.16, allocations: 1.43 MB / 1.662 GB, free: 53.36 MB / 0.823 GB Notification: Performance of SimCode: time 1.793e-06/9.16, allocations: 4 kB / 1.662 GB, free: 53.35 MB / 0.823 GB