Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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: 4.844 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5325/4.766, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/5.065, allocations: 98.73 MB / 0.6283 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.599/10.66, allocations: 2.175 GB / 2.803 GB, free: 174.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/10.66, allocations: 84.7 kB / 2.803 GB, free: 174.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 1.349/12.01, allocations: 235.6 MB / 3.033 GB, free: 166.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/12.01, allocations: 14.09 kB / 3.033 GB, free: 166.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/12.02, allocations: 159.5 kB / 3.033 GB, free: 166.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/12.02, allocations: 347 kB / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/12.02, allocations: 3.75 kB / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/12.02, allocations: 13.66 kB / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006476/12.02, allocations: 216.8 kB / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/12.02, allocations: 257 kB / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/12.02, allocations: 0 / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/12.02, allocations: 7.297 kB / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/12.02, allocations: 7.047 kB / 3.034 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/12.02, allocations: 1.086 MB / 3.035 GB, free: 165.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/12.02, allocations: 225.6 kB / 3.035 GB, free: 165.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/12.02, allocations: 105.5 kB / 3.036 GB, free: 165.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009055/12.02, allocations: 481.1 kB / 3.036 GB, free: 165.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/12.02, allocations: 34.5 kB / 3.036 GB, free: 165.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 3.487e-06/12.02, allocations: 0 / 3.036 GB, free: 165.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001585/12.02, allocations: 262.8 kB / 3.036 GB, free: 165.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/12.02, allocations: 54.81 kB / 3.036 GB, free: 165.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/12.02, allocations: 189.5 kB / 3.037 GB, free: 165 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/12.02, allocations: 25.7 kB / 3.037 GB, free: 165 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/12.02, allocations: 153.1 kB / 3.037 GB, free: 164.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/12.02, allocations: 67.14 kB / 3.037 GB, free: 164.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/12.02, allocations: 0 / 3.037 GB, free: 164.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/12.02, allocations: 333.5 kB / 3.037 GB, free: 164.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/12.02, allocations: 43.97 kB / 3.037 GB, free: 164.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/12.02, allocations: 116.8 kB / 3.037 GB, free: 164.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/12.03, allocations: 90.73 kB / 3.037 GB, free: 164.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/12.03, allocations: 2.656 kB / 3.037 GB, free: 164.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007175/12.03, allocations: 225.7 kB / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/12.03, allocations: 3.875 kB / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/12.03, allocations: 0 / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/12.03, allocations: 10.8 kB / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/12.03, allocations: 42.58 kB / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/12.03, allocations: 7.656 kB / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/12.03, allocations: 33.36 kB / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/12.03, allocations: 14.94 kB / 3.038 GB, free: 164.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.429e-05/12.03, allocations: 107.7 kB / 3.038 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/12.03, allocations: 23.41 kB / 3.038 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/12.03, allocations: 222.6 kB / 3.038 GB, free: 164.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/12.03, allocations: 3.906 kB / 3.038 GB, free: 164.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/12.03, allocations: 2.906 kB / 3.038 GB, free: 164.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/12.03, allocations: 3.609 kB / 3.038 GB, free: 164.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/12.03, allocations: 0.6944 MB / 3.039 GB, free: 163.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/12.03, allocations: 7.281 kB / 3.039 GB, free: 163.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/12.03, allocations: 50.16 kB / 3.039 GB, free: 163.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/12.03, allocations: 3.719 kB / 3.039 GB, free: 163.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/12.03, allocations: 3.656 kB / 3.039 GB, free: 163.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/12.03, allocations: 5.188 kB / 3.039 GB, free: 163.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/12.03, allocations: 6.484 kB / 3.039 GB, free: 163.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000932/12.03, allocations: 0.5721 MB / 3.039 GB, free: 163.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001319/12.03, allocations: 1.076 MB / 3.04 GB, free: 162.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/12.03, allocations: 121 kB / 3.04 GB, free: 162.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/12.03, allocations: 7.625 kB / 3.04 GB, free: 162.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/12.03, allocations: 22.25 kB / 3.041 GB, free: 162.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/12.03, allocations: 19.06 kB / 3.041 GB, free: 162.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/12.03, allocations: 9.859 kB / 3.041 GB, free: 162.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001843/12.03, allocations: 165.4 kB / 3.041 GB, free: 162.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001889/12.04, allocations: 267.3 kB / 3.041 GB, free: 162.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002095/12.04, allocations: 1.182 MB / 3.042 GB, free: 162.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004616/12.04, allocations: 141.7 kB / 3.042 GB, free: 162.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/12.04, allocations: 0 / 3.042 GB, free: 162.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/12.04, allocations: 78.34 kB / 3.042 GB, free: 162.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/12.04, allocations: 115.3 kB / 3.042 GB, free: 162.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/12.04, allocations: 446.2 kB / 3.043 GB, free: 162 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/12.04, allocations: 0.8254 MB / 3.044 GB, free: 161.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.363e-06/12.04, allocations: 0 / 3.044 GB, free: 161.3 MB / 0.823 GB