Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_7_0_x_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 249.4 MB / 256.7 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 185.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007798/0.0007798, allocations: 94.19 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3276/0.3284, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.4913, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.9525, allocations: 133.2 MB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.9527, allocations: 74.89 kB / 1.015 GB, free: 5.328 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.006403/0.9591, allocations: 2.167 MB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.9592, allocations: 8 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.9592, allocations: 11.34 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.9594, allocations: 171 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.9594, allocations: 3.906 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.9594, allocations: 4 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.418e-05/0.9595, allocations: 15.38 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.9596, allocations: 44.5 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.9596, allocations: 0 / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.9596, allocations: 0.75 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.9596, allocations: 4 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.96, allocations: 255.6 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/0.96, allocations: 29.12 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.9601, allocations: 12.67 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.9605, allocations: 0.5583 MB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.9605, allocations: 34.47 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.9605, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001589/0.9607, allocations: 52.08 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.9607, allocations: 51.41 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.9608, allocations: 108.2 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.9608, allocations: 25.7 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.9608, allocations: 91.55 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.9609, allocations: 7.844 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.9609, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.961, allocations: 314.8 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.961, allocations: 11.47 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.961, allocations: 4 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.961, allocations: 7.625 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.9611, allocations: 0 / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.728e-05/0.9611, allocations: 49.16 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.9612, allocations: 6.656 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.9612, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.9612, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.9613, allocations: 16.08 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.9613, allocations: 0 / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.9613, allocations: 11.62 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.9613, allocations: 0 / 1.019 GB, free: 1.34 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 6.408e-05/0.9614, allocations: 108.2 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.9614, allocations: 3.906 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.9616, allocations: 60.27 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.9616, allocations: 4.031 kB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9616, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.9616, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.9617, allocations: 145.8 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.9618, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.9618, allocations: 7.984 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9618, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.9618, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9618, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9618, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001165/0.962, allocations: 150.1 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001944/0.9622, allocations: 0.5067 MB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.9622, allocations: 81.11 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.9622, allocations: 0 / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.9623, allocations: 11.97 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.9623, allocations: 3.984 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.9623, allocations: 3.812 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.215e-05/0.9624, allocations: 83.28 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007942/0.9632, allocations: 12 kB / 1.02 GB, free: 96 kB / 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.0001506/0.9633, allocations: 111.1 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.307e-05/0.9634, allocations: 22.88 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.9634, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.9634, allocations: 8 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.9636, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.9638, allocations: 70.5 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.964, allocations: 0.6958 MB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.964, allocations: 3.938 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)