Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Splice.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.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_Splice",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.322/4.322, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.552/4.874, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/5.111, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/5.418, allocations: 125 MB / 0.7504 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/5.418, allocations: 71.59 kB / 0.7504 GB, free: 12.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009343/5.428, allocations: 1.826 MB / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/5.428, allocations: 8 kB / 0.7522 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/5.428, allocations: 3.906 kB / 0.7522 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/5.428, allocations: 171 kB / 0.7524 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/5.428, allocations: 11.91 kB / 0.7524 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/5.428, allocations: 0 / 0.7524 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/5.428, allocations: 16 kB / 0.7524 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/5.428, allocations: 49.62 kB / 0.7525 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/5.428, allocations: 0 / 0.7525 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/5.428, allocations: 0 / 0.7525 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/5.428, allocations: 0 / 0.7525 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/5.429, allocations: 249.4 kB / 0.7527 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.063e-05/5.429, allocations: 26.58 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/5.429, allocations: 16.86 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/5.43, allocations: 0.5543 MB / 0.7533 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/5.43, allocations: 38.56 kB / 0.7533 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/5.43, allocations: 0 / 0.7533 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000261/5.43, allocations: 41.69 kB / 0.7534 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/5.43, allocations: 55.41 kB / 0.7534 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/5.43, allocations: 93 kB / 0.7535 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/5.43, allocations: 29.7 kB / 0.7535 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/5.43, allocations: 92.03 kB / 0.7536 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/5.43, allocations: 7.844 kB / 0.7536 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/5.43, allocations: 0 / 0.7536 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001324/5.43, allocations: 318.9 kB / 0.7539 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/5.43, allocations: 4 kB / 0.7539 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/5.43, allocations: 7.984 kB / 0.7539 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.411e-05/5.43, allocations: 11.94 kB / 0.754 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/5.43, allocations: 3.938 kB / 0.754 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001417/5.431, allocations: 49.59 kB / 0.754 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/5.431, allocations: 8 kB / 0.754 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/5.431, allocations: 0 / 0.754 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/5.431, allocations: 4.094 kB / 0.754 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/5.431, allocations: 8 kB / 0.754 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/5.431, allocations: 0 / 0.754 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/5.431, allocations: 4 kB / 0.754 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/5.431, allocations: 0 / 0.754 GB, free: 8.516 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.21e-05/5.431, allocations: 112.9 kB / 0.7541 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/5.431, allocations: 3.906 kB / 0.7541 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/5.431, allocations: 57.25 kB / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/5.431, allocations: 0 / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/5.431, allocations: 0 / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/5.431, allocations: 0 / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/5.432, allocations: 154.2 kB / 0.7543 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/5.432, allocations: 0 / 0.7543 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/5.432, allocations: 8 kB / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/5.432, allocations: 0 / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/5.432, allocations: 0 / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/5.432, allocations: 32 / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/5.432, allocations: 7.984 kB / 0.7544 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001917/5.432, allocations: 135.5 kB / 0.7545 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003241/5.432, allocations: 0.5154 MB / 0.755 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/5.432, allocations: 85.16 kB / 0.7551 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/5.432, allocations: 3.906 kB / 0.7551 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/5.433, allocations: 4 kB / 0.7551 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/5.433, allocations: 0 / 0.7551 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/5.433, allocations: 4 kB / 0.7551 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.539e-05/5.433, allocations: 87.98 kB / 0.7552 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001456/5.434, allocations: 12 kB / 0.7552 GB, free: 7.234 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002367/5.434, allocations: 111.2 kB / 0.7553 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001179/5.435, allocations: 12 kB / 0.7553 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/5.435, allocations: 0 / 0.7553 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/5.435, allocations: 15.92 kB / 0.7553 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/5.435, allocations: 11.84 kB / 0.7553 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/5.435, allocations: 67.64 kB / 0.7554 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/5.436, allocations: 0.6958 MB / 0.7561 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/5.436, allocations: 4.125 kB / 0.7561 GB, free: 6.258 MB / 0.6355 GB