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.Velocity.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.Velocity,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_Velocity",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.342/4.342, allocations: 433 MB / 440.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5942/4.936, allocations: 104.3 MB / 0.5319 GB, free: 13.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/5.169, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.824/10.99, allocations: 2.175 GB / 2.803 GB, free: 104.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/10.99, allocations: 82.39 kB / 2.803 GB, free: 104.2 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 1.151/12.15, allocations: 235.8 MB / 3.034 GB, free: 175 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.001e-05/12.15, allocations: 7.812 kB / 3.034 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/12.15, allocations: 165.5 kB / 3.034 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/12.15, allocations: 352.2 kB / 3.034 GB, free: 174.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/12.15, allocations: 11.78 kB / 3.034 GB, free: 174.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/12.15, allocations: 15.72 kB / 3.034 GB, free: 174.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006166/12.15, allocations: 214.3 kB / 3.034 GB, free: 174.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/12.15, allocations: 263.6 kB / 3.035 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/12.15, allocations: 0 / 3.035 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/12.15, allocations: 0 / 3.035 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/12.15, allocations: 3.906 kB / 3.035 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/12.15, allocations: 1.109 MB / 3.036 GB, free: 173.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/12.15, allocations: 243 kB / 3.036 GB, free: 173.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/12.15, allocations: 115.5 kB / 3.036 GB, free: 173.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008984/12.15, allocations: 472 kB / 3.036 GB, free: 172.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/12.15, allocations: 34.75 kB / 3.036 GB, free: 172.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=21): time 2.735e-06/12.15, allocations: 0 / 3.036 GB, free: 172.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=21): time 0.001518/12.16, allocations: 265.2 kB / 3.037 GB, free: 172.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/12.16, allocations: 63.25 kB / 3.037 GB, free: 172.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/12.16, allocations: 191.8 kB / 3.037 GB, free: 172.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/12.16, allocations: 29.61 kB / 3.037 GB, free: 172.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/12.16, allocations: 148 kB / 3.037 GB, free: 172.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/12.16, allocations: 66.81 kB / 3.037 GB, free: 172.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/12.16, allocations: 0 / 3.037 GB, free: 172.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/12.16, allocations: 342.5 kB / 3.037 GB, free: 171.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/12.16, allocations: 47.38 kB / 3.038 GB, free: 171.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/12.16, allocations: 113.6 kB / 3.038 GB, free: 171.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/12.16, allocations: 99.73 kB / 3.038 GB, free: 171.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/12.16, allocations: 0 / 3.038 GB, free: 171.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007324/12.16, allocations: 246.6 kB / 3.038 GB, free: 171.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/12.16, allocations: 3.906 kB / 3.038 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/12.16, allocations: 0 / 3.038 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/12.16, allocations: 3.906 kB / 3.038 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/12.16, allocations: 54.98 kB / 3.038 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/12.16, allocations: 3.984 kB / 3.038 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/12.16, allocations: 31.42 kB / 3.038 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/12.16, allocations: 7.812 kB / 3.038 GB, free: 171.5 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 (24): * Single equations (assignments): 24 * 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.23e-05/12.16, allocations: 112.7 kB / 3.038 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/12.16, allocations: 23.44 kB / 3.038 GB, free: 171.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/12.16, allocations: 236.9 kB / 3.038 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/12.16, allocations: 3.906 kB / 3.038 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/12.16, allocations: 0 / 3.038 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/12.16, allocations: 11.83 kB / 3.038 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/12.16, allocations: 0.7131 MB / 3.039 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/12.16, allocations: 3.906 kB / 3.039 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/12.16, allocations: 55.12 kB / 3.039 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/12.16, allocations: 7.781 kB / 3.039 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/12.16, allocations: 3.906 kB / 3.039 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/12.16, allocations: 3.906 kB / 3.039 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/12.16, allocations: 3.938 kB / 3.039 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001026/12.16, allocations: 0.5921 MB / 3.04 GB, free: 170 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001361/12.16, allocations: 1.085 MB / 3.041 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/12.16, allocations: 124.3 kB / 3.041 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/12.16, allocations: 3.938 kB / 3.041 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/12.17, allocations: 19.77 kB / 3.041 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/12.17, allocations: 19.64 kB / 3.041 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/12.17, allocations: 11.81 kB / 3.041 GB, free: 168.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000179/12.17, allocations: 164.3 kB / 3.041 GB, free: 168.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002076/12.17, allocations: 267.1 kB / 3.041 GB, free: 168.6 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 (21): * Single equations (assignments): 21 * 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.001869/12.17, allocations: 1.178 MB / 3.043 GB, free: 168 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004765/12.17, allocations: 157.1 kB / 3.043 GB, free: 168 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/12.17, allocations: 0 / 3.043 GB, free: 168 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/12.17, allocations: 86.73 kB / 3.043 GB, free: 167.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/12.17, allocations: 116.1 kB / 3.043 GB, free: 167.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/12.17, allocations: 466.1 kB / 3.043 GB, free: 167.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/12.17, allocations: 0.8241 MB / 3.044 GB, free: 166.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/12.17, allocations: 4 kB / 3.044 GB, free: 166.8 MB / 0.823 GB