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.Pipe.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.Pipe,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe",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.905/3.905, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5505/4.455, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/4.685, allocations: 98.73 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9779/5.663, allocations: 414.5 MB / 1.033 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/5.663, allocations: 98 kB / 1.033 GB, free: 6.566 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 4.134/9.797, allocations: 0.7472 GB / 1.78 GB, free: 132.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/9.797, allocations: 7.656 kB / 1.78 GB, free: 132.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007163/9.804, allocations: 0.8359 MB / 1.781 GB, free: 132.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1015/9.905, allocations: 22.7 MB / 1.803 GB, free: 130.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/9.906, allocations: 249.4 kB / 1.804 GB, free: 130.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/9.909, allocations: 302.4 kB / 1.804 GB, free: 130.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02305/9.932, allocations: 5.178 MB / 1.809 GB, free: 130.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02753/9.959, allocations: 6.195 MB / 1.815 GB, free: 129.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004486/9.96, allocations: 21.83 kB / 1.815 GB, free: 129.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002411/9.962, allocations: 14.97 kB / 1.815 GB, free: 129.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003353/9.963, allocations: 170.6 kB / 1.815 GB, free: 129.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07224/10.03, allocations: 28.84 MB / 1.843 GB, free: 116.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009759/10.04, allocations: 3.232 MB / 1.847 GB, free: 116.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/10.05, allocations: 1.672 MB / 1.848 GB, free: 116.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/10.05, allocations: 0.9782 MB / 1.849 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.514e-05/10.05, allocations: 68.69 kB / 1.849 GB, free: 115.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=251): time 5.46e-06/10.05, allocations: 0 / 1.849 GB, free: 115.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.01106/10.06, allocations: 3.145 MB / 1.852 GB, free: 115.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/10.06, allocations: 75.84 kB / 1.852 GB, free: 115.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/10.07, allocations: 4.779 MB / 1.857 GB, free: 114.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007355/10.08, allocations: 28.67 kB / 1.857 GB, free: 114.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003354/10.08, allocations: 2.06 MB / 1.859 GB, free: 113.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003109/10.08, allocations: 0.8647 MB / 1.86 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/10.08, allocations: 0 / 1.86 GB, free: 113.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000372/10.08, allocations: 449.4 kB / 1.86 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003777/10.09, allocations: 1.452 MB / 1.862 GB, free: 112.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/10.09, allocations: 2.584 MB / 1.864 GB, free: 111.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006763/10.1, allocations: 2.198 MB / 1.866 GB, free: 111.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-05/10.1, allocations: 15.09 kB / 1.866 GB, free: 111.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01476/10.11, allocations: 4.474 MB / 1.871 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003781/10.12, allocations: 16.51 MB / 1.887 GB, free: 93.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/10.12, allocations: 36.69 kB / 1.887 GB, free: 93.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/10.12, allocations: 57.25 kB / 1.887 GB, free: 93.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007442/10.13, allocations: 0.8863 MB / 1.888 GB, free: 93.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/10.13, allocations: 1.253 MB / 1.889 GB, free: 92.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008759/10.14, allocations: 438.1 kB / 1.889 GB, free: 92.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/10.14, allocations: 164 kB / 1.89 GB, free: 92.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/10.14, allocations: 3.812 kB / 1.89 GB, free: 92.54 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01196/10.15, allocations: 3.974 MB / 1.894 GB, free: 92.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.903e-05/10.15, allocations: 35.38 kB / 1.894 GB, free: 92.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.843e-05/10.15, allocations: 58.66 kB / 1.894 GB, free: 92.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006822/10.16, allocations: 0.8656 MB / 1.894 GB, free: 92.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-05/10.16, allocations: 75.14 kB / 1.895 GB, free: 92.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007965/10.16, allocations: 375.4 kB / 1.895 GB, free: 92.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/10.16, allocations: 163.1 kB / 1.895 GB, free: 92.31 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001051/10.17, allocations: 215.9 kB / 1.895 GB, free: 92.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002161/10.17, allocations: 487 kB / 1.896 GB, free: 91.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/10.18, allocations: 3.656 MB / 1.899 GB, free: 91.74 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/10.18, allocations: 29.5 kB / 1.899 GB, free: 91.74 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/10.18, allocations: 2.156 kB / 1.899 GB, free: 91.74 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00807/10.19, allocations: 2.798 MB / 1.902 GB, free: 91.59 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/10.22, allocations: 8.569 MB / 1.91 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/10.22, allocations: 0 / 1.91 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005119/10.22, allocations: 0.5251 MB / 1.911 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.636e-05/10.22, allocations: 14.78 kB / 1.911 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005461/10.22, allocations: 48.55 kB / 1.911 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006298/10.22, allocations: 1.185 MB / 1.912 GB, free: 89.92 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/10.22, allocations: 7.844 kB / 1.912 GB, free: 89.92 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01581/10.24, allocations: 5.515 MB / 1.918 GB, free: 88.13 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02186/10.26, allocations: 8.054 MB / 1.925 GB, free: 84.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005722/10.27, allocations: 1.183 MB / 1.927 GB, free: 84.24 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002424/10.27, allocations: 17.64 kB / 1.927 GB, free: 84.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007071/10.28, allocations: 206.9 kB / 1.927 GB, free: 84.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008931/10.28, allocations: 133 kB / 1.927 GB, free: 84.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004525/10.28, allocations: 91.31 kB / 1.927 GB, free: 84.16 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.01177/10.29, allocations: 3.693 MB / 1.931 GB, free: 82.83 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0217/10.31, allocations: 3.352 MB / 1.934 GB, free: 82.07 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002771/10.32, allocations: 0.6571 MB / 1.935 GB, free: 81.87 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01881/10.33, allocations: 5.714 MB / 1.94 GB, free: 79.65 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/10.33, allocations: 0 / 1.94 GB, free: 79.65 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004352/10.34, allocations: 1.541 MB / 1.942 GB, free: 78.29 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03418/10.37, allocations: 3.019 MB / 1.945 GB, free: 76.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03801/10.41, allocations: 11.57 MB / 1.956 GB, free: 66.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01251/10.42, allocations: 5.181 MB / 1.961 GB, free: 62.82 MB / 0.823 GB Notification: Performance of SimCode: time 1.623e-06/10.42, allocations: 4 kB / 1.961 GB, free: 62.82 MB / 0.823 GB