Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.978/3.978, allocations: 433 MB / 440.3 MB, free: 10.78 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2686/4.247, allocations: 104.3 MB / 0.5319 GB, free: 2.34 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/4.858, allocations: 98.7 MB / 0.6283 GB, free: 76 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.415/11.27, allocations: 2.425 GB / 3.053 GB, free: 230.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/11.27, allocations: 82.27 kB / 3.054 GB, free: 230.1 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 3.171/14.44, allocations: 0.6317 GB / 3.685 GB, free: 144.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/14.44, allocations: 10.62 kB / 3.685 GB, free: 144.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/14.45, allocations: 0.5865 MB / 3.686 GB, free: 144.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04847/14.5, allocations: 12.63 MB / 3.698 GB, free: 143.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002481/14.5, allocations: 328 kB / 3.698 GB, free: 143.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/14.5, allocations: 45.34 kB / 3.699 GB, free: 143.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002511/14.5, allocations: 0.7644 MB / 3.699 GB, free: 143.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/14.51, allocations: 0.8651 MB / 3.7 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/14.51, allocations: 3.75 kB / 3.7 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/14.51, allocations: 3.562 kB / 3.7 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/14.51, allocations: 33.86 kB / 3.7 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/14.52, allocations: 3.491 MB / 3.704 GB, free: 142.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/14.52, allocations: 0.5594 MB / 3.704 GB, free: 142.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008015/14.52, allocations: 311.1 kB / 3.704 GB, free: 142.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009485/14.52, allocations: 0.7029 MB / 3.705 GB, free: 141.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/14.52, allocations: 453.9 kB / 3.706 GB, free: 141.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 6.001e-06/14.52, allocations: 0 / 3.706 GB, free: 141.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.003195/14.53, allocations: 0.7247 MB / 3.706 GB, free: 141.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/14.53, allocations: 164.1 kB / 3.706 GB, free: 141.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/14.53, allocations: 0.6869 MB / 3.707 GB, free: 141.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/14.53, allocations: 29.55 kB / 3.707 GB, free: 141.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/14.53, allocations: 348.2 kB / 3.707 GB, free: 140.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/14.53, allocations: 162.7 kB / 3.708 GB, free: 140.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/14.53, allocations: 0 / 3.708 GB, free: 140.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/14.53, allocations: 331.3 kB / 3.708 GB, free: 140.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008688/14.53, allocations: 305.2 kB / 3.708 GB, free: 140.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/14.53, allocations: 0.5133 MB / 3.709 GB, free: 140.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/14.53, allocations: 424.5 kB / 3.709 GB, free: 140.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/14.53, allocations: 2.969 kB / 3.709 GB, free: 140.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003355/14.54, allocations: 0.9023 MB / 3.71 GB, free: 140.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/14.54, allocations: 11.66 kB / 3.71 GB, free: 140.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/14.54, allocations: 3.875 kB / 3.71 GB, free: 140.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/14.54, allocations: 6.688 kB / 3.71 GB, free: 140.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/14.54, allocations: 238.8 kB / 3.71 GB, free: 140.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/14.54, allocations: 3.594 kB / 3.71 GB, free: 140.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/14.54, allocations: 291.2 kB / 3.71 GB, free: 140.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/14.54, allocations: 52.47 kB / 3.711 GB, free: 140.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000358/14.54, allocations: 156.8 kB / 3.711 GB, free: 140.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/14.54, allocations: 90.66 kB / 3.711 GB, free: 140.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/14.55, allocations: 0.7399 MB / 3.712 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/14.55, allocations: 14.84 kB / 3.712 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/14.55, allocations: 0 / 3.712 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/14.55, allocations: 3.938 kB / 3.712 GB, free: 140 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/14.55, allocations: 2.835 MB / 3.714 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/14.55, allocations: 6.281 kB / 3.714 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/14.55, allocations: 126.4 kB / 3.714 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/14.55, allocations: 10.69 kB / 3.714 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/14.56, allocations: 19.16 kB / 3.714 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/14.56, allocations: 14.59 kB / 3.714 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/14.56, allocations: 14.19 kB / 3.714 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002508/14.56, allocations: 1.41 MB / 3.716 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002751/14.56, allocations: 1.901 MB / 3.718 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/14.56, allocations: 304.8 kB / 3.718 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/14.56, allocations: 18.86 kB / 3.718 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/14.56, allocations: 131.4 kB / 3.718 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/14.56, allocations: 46.72 kB / 3.718 GB, free: 136.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/14.56, allocations: 43.86 kB / 3.718 GB, free: 136.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001079/14.57, allocations: 0.5235 MB / 3.719 GB, free: 136.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00394/14.57, allocations: 0.5911 MB / 3.719 GB, free: 136.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.003856/14.57, allocations: 1.753 MB / 3.721 GB, free: 136.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002215/14.58, allocations: 0.735 MB / 3.722 GB, free: 136.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/14.58, allocations: 3.844 kB / 3.722 GB, free: 136.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009413/14.58, allocations: 410 kB / 3.722 GB, free: 136.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/14.58, allocations: 329 kB / 3.722 GB, free: 136.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/14.58, allocations: 1.414 MB / 3.724 GB, free: 135.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/14.59, allocations: 1.185 MB / 3.725 GB, free: 134.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.663e-06/14.59, allocations: 0 / 3.725 GB, free: 134.9 MB / 0.823 GB