Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example1v1",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.777/3.777, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4951/4.272, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/4.483, allocations: 98.73 MB / 0.6283 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9202/5.403, allocations: 406.4 MB / 1.025 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/5.404, allocations: 91.2 kB / 1.025 GB, free: 12.78 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 6.086/11.49, allocations: 1.311 GB / 2.336 GB, free: 56.01 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/11.49, allocations: 8 kB / 2.336 GB, free: 56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/11.5, allocations: 0.6047 MB / 2.336 GB, free: 55.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/11.52, allocations: 4.402 MB / 2.341 GB, free: 50.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/11.52, allocations: 51.94 kB / 2.341 GB, free: 50.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007866/11.52, allocations: 124 kB / 2.341 GB, free: 50.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005447/11.52, allocations: 1.63 MB / 2.343 GB, free: 49.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004927/11.53, allocations: 1.821 MB / 2.344 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.668e-05/11.53, allocations: 7.938 kB / 2.344 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/11.53, allocations: 11.94 kB / 2.344 GB, free: 47.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/11.53, allocations: 36 kB / 2.344 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/11.55, allocations: 11.5 MB / 2.356 GB, free: 34.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/11.56, allocations: 1.206 MB / 2.357 GB, free: 33.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/11.56, allocations: 0.9017 MB / 2.358 GB, free: 32.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009096/11.57, allocations: 3.358 MB / 2.361 GB, free: 29.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/11.57, allocations: 0.7073 MB / 2.362 GB, free: 28.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=97): time 4.498e-06/11.57, allocations: 0 / 2.362 GB, free: 28.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97): time 0.007622/11.58, allocations: 2.012 MB / 2.364 GB, free: 26.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/11.58, allocations: 111.6 kB / 2.364 GB, free: 26.31 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/11.58, allocations: 2.231 MB / 2.366 GB, free: 24.08 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004801/11.58, allocations: 29.7 kB / 2.366 GB, free: 24.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/11.58, allocations: 0.8505 MB / 2.367 GB, free: 23.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006227/11.58, allocations: 331 kB / 2.367 GB, free: 22.85 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/11.58, allocations: 4 kB / 2.367 GB, free: 22.85 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/11.58, allocations: 365.9 kB / 2.367 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/11.59, allocations: 0.5467 MB / 2.368 GB, free: 21.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/11.59, allocations: 1.299 MB / 2.369 GB, free: 20.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/11.59, allocations: 0.8619 MB / 2.37 GB, free: 19.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/11.59, allocations: 4 kB / 2.37 GB, free: 19.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009009/11.6, allocations: 2.477 MB / 2.372 GB, free: 16.92 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001344/11.6, allocations: 5.92 MB / 2.378 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-05/11.6, allocations: 15.91 kB / 2.378 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/11.6, allocations: 449 kB / 2.379 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/11.61, allocations: 289.3 kB / 2.379 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/11.61, allocations: 2.061 MB / 2.381 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/11.61, allocations: 222.9 kB / 2.381 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/11.61, allocations: 91.89 kB / 2.381 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/11.61, allocations: 4 kB / 2.381 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006542/11.62, allocations: 2.063 MB / 2.383 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/11.62, allocations: 12 kB / 2.383 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/11.62, allocations: 417.7 kB / 2.384 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/11.62, allocations: 273.4 kB / 2.384 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5015/12.13, allocations: 5.364 MB / 2.389 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/12.13, allocations: 193.5 kB / 2.389 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004637/12.13, allocations: 78.58 kB / 2.389 GB, free: 119.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005676/12.13, allocations: 158.1 kB / 2.39 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008864/12.13, allocations: 283.5 kB / 2.39 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008455/12.14, allocations: 2.333 MB / 2.392 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/12.14, allocations: 16.47 kB / 2.392 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/12.14, allocations: 1.969 kB / 2.392 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005524/12.15, allocations: 1.893 MB / 2.394 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/12.16, allocations: 3.92 MB / 2.398 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/12.16, allocations: 0 / 2.398 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/12.16, allocations: 164.7 kB / 2.398 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/12.16, allocations: 392.2 kB / 2.398 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/12.16, allocations: 20.81 kB / 2.398 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/12.17, allocations: 1.91 MB / 2.4 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/12.17, allocations: 0 / 2.4 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008516/12.17, allocations: 2.863 MB / 2.403 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01626/12.19, allocations: 4.114 MB / 2.407 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/12.19, allocations: 477.5 kB / 2.408 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/12.19, allocations: 3 kB / 2.408 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/12.2, allocations: 133.5 kB / 2.408 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/12.2, allocations: 80.08 kB / 2.408 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/12.2, allocations: 43.95 kB / 2.408 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.004643/12.2, allocations: 1.701 MB / 2.409 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01076/12.21, allocations: 1.635 MB / 2.411 GB, free: 116.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (83): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002898/12.22, allocations: 1.038 MB / 2.412 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007707/12.22, allocations: 2.716 MB / 2.415 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/12.23, allocations: 3.375 kB / 2.415 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/12.23, allocations: 0.6795 MB / 2.415 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009159/12.24, allocations: 1.023 MB / 2.416 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/12.25, allocations: 4.062 MB / 2.42 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004024/12.25, allocations: 2.329 MB / 2.423 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/12.25, allocations: 3.906 kB / 2.423 GB, free: 114.2 MB / 0.8698 GB