Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.233/4.233, allocations: 433 MB / 440.3 MB, free: 10.76 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2621/4.496, allocations: 104.4 MB / 0.5319 GB, free: 2.348 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/5.055, allocations: 98.69 MB / 0.6283 GB, free: 92 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.544/10.6, allocations: 2.195 GB / 2.824 GB, free: 186.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/10.6, allocations: 87.39 kB / 2.824 GB, free: 186.5 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 4.426/15.03, allocations: 0.8911 GB / 3.715 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/15.03, allocations: 11.59 kB / 3.715 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/15.03, allocations: 425.1 kB / 3.715 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/15.03, allocations: 1.109 MB / 3.716 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/15.03, allocations: 22.5 kB / 3.716 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/15.03, allocations: 54.19 kB / 3.717 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002356/15.04, allocations: 0.7509 MB / 3.717 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/15.04, allocations: 0.7356 MB / 3.718 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/15.04, allocations: 1.969 kB / 3.718 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/15.04, allocations: 0 / 3.718 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/15.04, allocations: 28.62 kB / 3.718 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008383/15.05, allocations: 3.799 MB / 3.722 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/15.05, allocations: 0.6082 MB / 3.722 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008311/15.05, allocations: 363.4 kB / 3.723 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/15.05, allocations: 0.6445 MB / 3.723 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/15.05, allocations: 43.62 kB / 3.723 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=60): time 3.396e-06/15.05, allocations: 0 / 3.723 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60): time 0.004662/15.06, allocations: 0.9054 MB / 3.724 GB, free: 107 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/15.06, allocations: 62.64 kB / 3.724 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/15.06, allocations: 0.5936 MB / 3.725 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/15.06, allocations: 29.3 kB / 3.725 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/15.06, allocations: 348.4 kB / 3.725 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/15.06, allocations: 209.8 kB / 3.725 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/15.06, allocations: 0 / 3.725 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/15.06, allocations: 331.8 kB / 3.726 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006201/15.06, allocations: 232.6 kB / 3.726 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/15.06, allocations: 383.2 kB / 3.726 GB, free: 106 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/15.06, allocations: 381.6 kB / 3.727 GB, free: 106 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/15.06, allocations: 0 / 3.727 GB, free: 106 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002501/15.06, allocations: 0.7721 MB / 3.727 GB, free: 106 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/15.06, allocations: 453.7 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/15.06, allocations: 2.562 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/15.06, allocations: 3.875 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/15.07, allocations: 140.9 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/15.07, allocations: 7.062 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/15.07, allocations: 117.8 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/15.07, allocations: 20.69 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/15.07, allocations: 3.438 kB / 3.728 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002064/15.07, allocations: 0.6415 MB / 3.729 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/15.07, allocations: 3.062 kB / 3.729 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/15.07, allocations: 7.375 kB / 3.729 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/15.07, allocations: 138.7 kB / 3.729 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/15.07, allocations: 4.875 kB / 3.729 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/15.07, allocations: 115.2 kB / 3.729 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-05/15.07, allocations: 20.56 kB / 3.729 GB, free: 105.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002605/15.07, allocations: 118.8 kB / 3.729 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/15.07, allocations: 96.75 kB / 3.729 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/15.08, allocations: 0.8032 MB / 3.73 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/15.08, allocations: 11.5 kB / 3.73 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/15.08, allocations: 2.75 kB / 3.73 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001882/15.08, allocations: 0.9699 MB / 3.731 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/15.08, allocations: 1.995 MB / 3.733 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/15.08, allocations: 0 / 3.733 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/15.09, allocations: 161.8 kB / 3.733 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/15.09, allocations: 10.75 kB / 3.733 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/15.09, allocations: 7.312 kB / 3.733 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/15.09, allocations: 7.312 kB / 3.733 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/15.09, allocations: 5.219 kB / 3.733 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003052/15.09, allocations: 1.425 MB / 3.735 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004462/15.09, allocations: 2.315 MB / 3.737 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/15.09, allocations: 260.3 kB / 3.737 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/15.09, allocations: 7.75 kB / 3.737 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/15.1, allocations: 117.9 kB / 3.737 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/15.1, allocations: 50.25 kB / 3.737 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.983e-05/15.1, allocations: 29.09 kB / 3.737 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0009065/15.1, allocations: 476 kB / 3.738 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005762/15.1, allocations: 1.301 MB / 3.739 GB, free: 102.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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 Backend phase and start with SimCode phase: time 0.004335/15.11, allocations: 2.58 MB / 3.741 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002532/15.11, allocations: 0.9295 MB / 3.742 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/15.11, allocations: 6.469 kB / 3.742 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007719/15.11, allocations: 324 kB / 3.743 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/15.12, allocations: 0.6017 MB / 3.743 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/15.12, allocations: 1.747 MB / 3.745 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/15.12, allocations: 1.254 MB / 3.746 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/15.12, allocations: 2.562 kB / 3.746 GB, free: 100.6 MB / 0.8542 GB