Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.896/3.896, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5647/4.461, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/4.75, allocations: 98.72 MB / 0.6283 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.423/10.17, allocations: 2.173 GB / 2.801 GB, free: 176 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/10.17, allocations: 91.59 kB / 2.801 GB, free: 175.9 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 1.09/11.26, allocations: 208.5 MB / 3.005 GB, free: 245.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/11.26, allocations: 7.281 kB / 3.005 GB, free: 245.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/11.26, allocations: 48.45 kB / 3.005 GB, free: 245.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/11.26, allocations: 285 kB / 3.005 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/11.26, allocations: 2.969 kB / 3.005 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/11.26, allocations: 10.28 kB / 3.005 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005052/11.26, allocations: 178.3 kB / 3.006 GB, free: 245.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/11.27, allocations: 194.7 kB / 3.006 GB, free: 245.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/11.27, allocations: 0 / 3.006 GB, free: 245.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/11.27, allocations: 0 / 3.006 GB, free: 245.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/11.27, allocations: 14.19 kB / 3.006 GB, free: 245.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/11.27, allocations: 0.8336 MB / 3.007 GB, free: 245.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/11.27, allocations: 135.5 kB / 3.007 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/11.27, allocations: 100.3 kB / 3.007 GB, free: 245 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/11.27, allocations: 188.6 kB / 3.007 GB, free: 244.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/11.27, allocations: 34.5 kB / 3.007 GB, free: 244.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 2.975e-06/11.27, allocations: 0 / 3.007 GB, free: 244.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0009132/11.27, allocations: 232.2 kB / 3.007 GB, free: 244.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/11.27, allocations: 51.41 kB / 3.007 GB, free: 244.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/11.27, allocations: 153.8 kB / 3.007 GB, free: 244.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/11.27, allocations: 25.7 kB / 3.007 GB, free: 244.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/11.27, allocations: 129.1 kB / 3.008 GB, free: 244.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/11.27, allocations: 45.56 kB / 3.008 GB, free: 244.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/11.27, allocations: 0 / 3.008 GB, free: 244.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/11.27, allocations: 328.7 kB / 3.008 GB, free: 244.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/11.27, allocations: 72.53 kB / 3.008 GB, free: 244.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/11.27, allocations: 121.5 kB / 3.008 GB, free: 244.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/11.27, allocations: 74.3 kB / 3.008 GB, free: 244.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/11.27, allocations: 0 / 3.008 GB, free: 244.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005065/11.27, allocations: 207.2 kB / 3.008 GB, free: 244 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/11.27, allocations: 3.938 kB / 3.008 GB, free: 244 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/11.27, allocations: 3.797 kB / 3.008 GB, free: 244 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/11.27, allocations: 3.531 kB / 3.008 GB, free: 244 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/11.27, allocations: 41.98 kB / 3.008 GB, free: 244 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/11.27, allocations: 0 / 3.008 GB, free: 244 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/11.27, allocations: 24.28 kB / 3.008 GB, free: 244 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/11.27, allocations: 14.23 kB / 3.008 GB, free: 244 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.941e-05/11.27, allocations: 114.1 kB / 3.009 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/11.27, allocations: 15.38 kB / 3.009 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/11.27, allocations: 28.05 kB / 3.009 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/11.27, allocations: 9.969 kB / 3.009 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/11.27, allocations: 3.938 kB / 3.009 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/11.27, allocations: 0 / 3.009 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/11.27, allocations: 0.6504 MB / 3.009 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/11.27, allocations: 3 kB / 3.009 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/11.27, allocations: 43.3 kB / 3.009 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-05/11.27, allocations: 3.906 kB / 3.009 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/11.27, allocations: 3.25 kB / 3.009 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/11.27, allocations: 6 kB / 3.009 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/11.27, allocations: 3.906 kB / 3.009 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005876/11.28, allocations: 427.5 kB / 3.01 GB, free: 243.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007741/11.28, allocations: 0.8239 MB / 3.011 GB, free: 242.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/11.28, allocations: 116.2 kB / 3.011 GB, free: 242.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/11.28, allocations: 4.844 kB / 3.011 GB, free: 242.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/11.28, allocations: 17.66 kB / 3.011 GB, free: 242.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/11.28, allocations: 21.58 kB / 3.011 GB, free: 242.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/11.28, allocations: 10.53 kB / 3.011 GB, free: 242.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001382/11.28, allocations: 127 kB / 3.011 GB, free: 242.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00192/11.28, allocations: 202.8 kB / 3.011 GB, free: 242.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001729/11.28, allocations: 1.017 MB / 3.012 GB, free: 242.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005903/11.28, allocations: 171.3 kB / 3.012 GB, free: 242.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/11.28, allocations: 3.188 kB / 3.012 GB, free: 242.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/11.28, allocations: 92.8 kB / 3.012 GB, free: 242.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/11.28, allocations: 77.38 kB / 3.012 GB, free: 242.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/11.28, allocations: 312 kB / 3.013 GB, free: 242 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/11.28, allocations: 0.7854 MB / 3.013 GB, free: 241.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.253e-06/11.28, allocations: 0 / 3.013 GB, free: 241.3 MB / 0.823 GB