Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.502/4.502, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5363/5.039, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/5.275, allocations: 98.72 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/5.529, allocations: 126.2 MB / 0.7515 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/5.529, allocations: 87.59 kB / 0.7516 GB, free: 11.39 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.05713/5.586, allocations: 9.048 MB / 0.7604 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/5.587, allocations: 12 kB / 0.7604 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/5.587, allocations: 23.72 kB / 0.7605 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/5.588, allocations: 270.5 kB / 0.7607 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/5.588, allocations: 4 kB / 0.7607 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/5.588, allocations: 8 kB / 0.7607 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002684/5.59, allocations: 0.7608 MB / 0.7615 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/5.591, allocations: 199.9 kB / 0.7617 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/5.591, allocations: 0 / 0.7617 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/5.591, allocations: 3.984 kB / 0.7617 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/5.592, allocations: 4 kB / 0.7617 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/5.594, allocations: 0.5397 MB / 0.7622 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008959/5.595, allocations: 227.3 kB / 0.7624 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/5.595, allocations: 97.38 kB / 0.7625 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/5.595, allocations: 19.97 kB / 0.7625 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006436/5.596, allocations: 177.1 kB / 0.7627 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 5.551e-06/5.596, allocations: 0 / 0.7627 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001426/5.597, allocations: 283.2 kB / 0.763 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/5.597, allocations: 106.8 kB / 0.7631 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000689/5.598, allocations: 254 kB / 0.7633 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/5.598, allocations: 25.7 kB / 0.7633 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/5.598, allocations: 104.7 kB / 0.7634 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/5.599, allocations: 98.47 kB / 0.7635 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/5.599, allocations: 0 / 0.7635 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002325/5.599, allocations: 334.8 kB / 0.7639 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/5.599, allocations: 95.97 kB / 0.764 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/5.6, allocations: 122.5 kB / 0.7641 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/5.601, allocations: 120.8 kB / 0.7642 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/5.601, allocations: 7.938 kB / 0.7642 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001442/5.602, allocations: 316.9 kB / 0.7645 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/5.602, allocations: 8 kB / 0.7645 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/5.602, allocations: 0 / 0.7645 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/5.602, allocations: 4 kB / 0.7645 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/5.603, allocations: 63.91 kB / 0.7646 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/5.603, allocations: 0 / 0.7646 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/5.603, allocations: 31.73 kB / 0.7646 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/5.604, allocations: 11.94 kB / 0.7646 GB, free: 13.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0002285/5.604, allocations: 116.8 kB / 0.7647 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/5.604, allocations: 27.62 kB / 0.7647 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/5.606, allocations: 416.6 kB / 0.7651 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/5.606, allocations: 4 kB / 0.7651 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/5.606, allocations: 3.938 kB / 0.7651 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/5.606, allocations: 0 / 0.7651 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/5.607, allocations: 309.7 kB / 0.7654 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/5.607, allocations: 0 / 0.7654 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/5.608, allocations: 51.92 kB / 0.7655 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/5.608, allocations: 3.984 kB / 0.7655 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/5.608, allocations: 12 kB / 0.7655 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/5.608, allocations: 0 / 0.7655 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/5.608, allocations: 0 / 0.7655 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001345/5.609, allocations: 325.5 kB / 0.7658 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001556/5.611, allocations: 0.6978 MB / 0.7665 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/5.612, allocations: 152.7 kB / 0.7666 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/5.612, allocations: 3.906 kB / 0.7667 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/5.612, allocations: 11.98 kB / 0.7667 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/5.612, allocations: 27.97 kB / 0.7667 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/5.612, allocations: 12 kB / 0.7667 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004887/5.613, allocations: 204.7 kB / 0.7669 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002178/5.615, allocations: 60 kB / 0.767 GB, free: 11.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001305/5.616, allocations: 292 kB / 0.7672 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001165/5.618, allocations: 269.5 kB / 0.7675 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/5.618, allocations: 0 / 0.7675 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004997/5.618, allocations: 131.8 kB / 0.7676 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/5.619, allocations: 23.41 kB / 0.7676 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/5.621, allocations: 399.7 kB / 0.768 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009425/5.622, allocations: 0.8074 MB / 0.7688 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of SimCode: time 2.695e-06/5.622, allocations: 0 / 0.7688 GB, free: 9.379 MB / 0.6511 GB