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.PressureDrop.ParallelFlowOptimised.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.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.802/3.802, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5064/4.309, allocations: 104.3 MB / 0.5319 GB, free: 12.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/4.534, allocations: 98.71 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.339/9.873, allocations: 2.177 GB / 2.805 GB, free: 103.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/9.874, allocations: 98.17 kB / 2.805 GB, free: 103.2 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 8.057/17.93, allocations: 1.728 GB / 4.533 GB, free: 243.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/17.93, allocations: 9.219 kB / 4.533 GB, free: 243.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/17.93, allocations: 191.1 kB / 4.534 GB, free: 243 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006726/17.94, allocations: 1.391 MB / 4.535 GB, free: 242.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/17.94, allocations: 19.62 kB / 4.535 GB, free: 242.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/17.94, allocations: 40.28 kB / 4.535 GB, free: 242.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001512/17.94, allocations: 0.5094 MB / 4.536 GB, free: 242.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/17.94, allocations: 0.6977 MB / 4.536 GB, free: 242.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/17.94, allocations: 7.359 kB / 4.536 GB, free: 242.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/17.94, allocations: 3.906 kB / 4.536 GB, free: 242.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/17.94, allocations: 11.78 kB / 4.536 GB, free: 242.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00587/17.95, allocations: 3.987 MB / 4.54 GB, free: 239.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/17.95, allocations: 499.9 kB / 4.541 GB, free: 239.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/17.95, allocations: 349.2 kB / 4.541 GB, free: 239.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/17.95, allocations: 194.8 kB / 4.541 GB, free: 239.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005586/17.95, allocations: 289.7 kB / 4.541 GB, free: 239.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 2.514e-06/17.95, allocations: 0 / 4.541 GB, free: 239.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.003186/17.96, allocations: 0.8147 MB / 4.542 GB, free: 239.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/17.96, allocations: 81.02 kB / 4.542 GB, free: 239.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/17.96, allocations: 0.8761 MB / 4.543 GB, free: 239.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/17.96, allocations: 28.95 kB / 4.543 GB, free: 239.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/17.96, allocations: 334.9 kB / 4.543 GB, free: 239.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/17.96, allocations: 111.8 kB / 4.544 GB, free: 239 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/17.96, allocations: 0 / 4.544 GB, free: 239 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/17.96, allocations: 328.4 kB / 4.544 GB, free: 238.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/17.96, allocations: 212.9 kB / 4.544 GB, free: 238.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/17.96, allocations: 0.5222 MB / 4.545 GB, free: 238.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/17.96, allocations: 297 kB / 4.545 GB, free: 238.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/17.96, allocations: 5.844 kB / 4.545 GB, free: 238.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003118/17.96, allocations: 0.9467 MB / 4.546 GB, free: 238.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004731/17.96, allocations: 2.094 MB / 4.548 GB, free: 236 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/17.96, allocations: 7 kB / 4.548 GB, free: 236 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008874/17.96, allocations: 249.4 kB / 4.548 GB, free: 236 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/17.96, allocations: 80.39 kB / 4.548 GB, free: 236 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/17.97, allocations: 1.18 MB / 4.549 GB, free: 235.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/17.97, allocations: 104.6 kB / 4.549 GB, free: 235.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/17.97, allocations: 25.72 kB / 4.549 GB, free: 235.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/17.97, allocations: 6.406 kB / 4.549 GB, free: 235.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001948/17.97, allocations: 0.6493 MB / 4.55 GB, free: 235.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/17.97, allocations: 7.656 kB / 4.55 GB, free: 235.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/17.97, allocations: 222.2 kB / 4.55 GB, free: 235.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/17.97, allocations: 75.2 kB / 4.55 GB, free: 235.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005135/17.98, allocations: 2.786 MB / 4.553 GB, free: 234.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/17.98, allocations: 88.17 kB / 4.553 GB, free: 234.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/17.98, allocations: 30.83 kB / 4.553 GB, free: 234.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002245/17.98, allocations: 131.9 kB / 4.553 GB, free: 234 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/17.98, allocations: 91.59 kB / 4.553 GB, free: 233.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/17.98, allocations: 0.7179 MB / 4.554 GB, free: 233.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/17.98, allocations: 3 kB / 4.554 GB, free: 233.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/17.98, allocations: 4.688 kB / 4.554 GB, free: 233.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/17.98, allocations: 3.797 kB / 4.554 GB, free: 233.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/17.99, allocations: 1.601 MB / 4.556 GB, free: 233.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/17.99, allocations: 7.422 kB / 4.556 GB, free: 233.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/17.99, allocations: 29.59 kB / 4.556 GB, free: 233.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/17.99, allocations: 213.3 kB / 4.556 GB, free: 233.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/17.99, allocations: 11.41 kB / 4.556 GB, free: 233.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/17.99, allocations: 1.044 MB / 4.557 GB, free: 232.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/17.99, allocations: 0 / 4.557 GB, free: 232.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001956/17.99, allocations: 0.9218 MB / 4.558 GB, free: 232.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002129/17.99, allocations: 1.332 MB / 4.559 GB, free: 231.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/17.99, allocations: 214.1 kB / 4.559 GB, free: 231.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/17.99, allocations: 6.656 kB / 4.559 GB, free: 231.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/18, allocations: 65.73 kB / 4.559 GB, free: 231.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/18, allocations: 33.88 kB / 4.559 GB, free: 231.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/18, allocations: 8.969 kB / 4.559 GB, free: 231.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001435/18, allocations: 0.6812 MB / 4.56 GB, free: 231.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005167/18, allocations: 0.6772 MB / 4.561 GB, free: 231.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/18, allocations: 1.046 MB / 4.562 GB, free: 231.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002595/18.01, allocations: 0.9705 MB / 4.563 GB, free: 231 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/18.01, allocations: 3.281 kB / 4.563 GB, free: 231 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006523/18.01, allocations: 219.1 kB / 4.563 GB, free: 231 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005621/18.01, allocations: 0.529 MB / 4.564 GB, free: 231 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/18.02, allocations: 1.405 MB / 4.565 GB, free: 230.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/18.02, allocations: 1.266 MB / 4.566 GB, free: 229.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.462e-06/18.02, allocations: 0 / 4.566 GB, free: 229.9 MB / 0.823 GB