Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.356/1.356, allocations: 285.5 MB / 292.8 MB, free: 0.6758 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000975/0.000975, allocations: 187.3 kB / 361.1 MB, free: 15.22 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.1 MB / 0.6195 GB, free: 5.773 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 86.48 kB / 0.7325 GB, free: 47.64 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2077/0.2087, allocations: 121.5 MB / 0.8512 GB, free: 12.58 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.712, allocations: 115.3 MB / 0.9637 GB, free: 85.5 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.8666, allocations: 138.4 MB / 1.099 GB, free: 10.91 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.8668, allocations: 73.47 kB / 1.099 GB, free: 10.84 MB / 0.7058 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.00697/0.8738, allocations: 2.178 MB / 1.101 GB, free: 8.66 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8739, allocations: 12 kB / 1.101 GB, free: 8.648 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.8739, allocations: 0 / 1.101 GB, free: 8.648 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.8741, allocations: 174.9 kB / 1.101 GB, free: 8.438 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.8741, allocations: 0 / 1.101 GB, free: 8.438 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.8741, allocations: 4 kB / 1.101 GB, free: 8.434 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.546e-05/0.8742, allocations: 17.69 kB / 1.101 GB, free: 8.418 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.8743, allocations: 45.69 kB / 1.101 GB, free: 8.367 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8743, allocations: 0.5 kB / 1.101 GB, free: 8.367 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.8743, allocations: 0.7812 kB / 1.101 GB, free: 8.367 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.8743, allocations: 3.906 kB / 1.101 GB, free: 8.363 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.8747, allocations: 257.5 kB / 1.102 GB, free: 8.078 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.8747, allocations: 27.95 kB / 1.102 GB, free: 8.043 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.8748, allocations: 12.92 kB / 1.102 GB, free: 8.027 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/0.8752, allocations: 0.5523 MB / 1.102 GB, free: 7.348 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.198e-05/0.8753, allocations: 40.06 kB / 1.102 GB, free: 7.301 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.8753, allocations: 0 / 1.102 GB, free: 7.301 MB / 0.7058 GB Notification: Performance of matching and sorting (n=2): time 0.0001918/0.8755, allocations: 49.53 kB / 1.102 GB, free: 7.246 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.8755, allocations: 51.41 kB / 1.102 GB, free: 7.184 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.654e-05/0.8756, allocations: 101.8 kB / 1.102 GB, free: 7.078 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.8756, allocations: 25.7 kB / 1.102 GB, free: 7.047 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.8756, allocations: 88.14 kB / 1.103 GB, free: 6.957 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.8757, allocations: 7.844 kB / 1.103 GB, free: 6.949 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.8757, allocations: 6.844 kB / 1.103 GB, free: 6.945 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.8758, allocations: 318.8 kB / 1.103 GB, free: 6.625 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.8758, allocations: 7.938 kB / 1.103 GB, free: 6.617 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.8758, allocations: 4 kB / 1.103 GB, free: 6.613 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.8759, allocations: 11.91 kB / 1.103 GB, free: 6.602 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8759, allocations: 0 / 1.103 GB, free: 6.602 MB / 0.7058 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.399e-05/0.876, allocations: 45.69 kB / 1.103 GB, free: 6.551 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.876, allocations: 4 kB / 1.103 GB, free: 6.547 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.876, allocations: 8.094 kB / 1.103 GB, free: 6.539 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-06/0.876, allocations: 0 / 1.103 GB, free: 6.539 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.8761, allocations: 7.938 kB / 1.103 GB, free: 6.531 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8761, allocations: 2.578 kB / 1.103 GB, free: 6.531 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.8762, allocations: 11.89 kB / 1.103 GB, free: 6.52 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.8762, allocations: 0 / 1.103 GB, free: 6.52 MB / 0.7058 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.002e-05/0.8763, allocations: 104.8 kB / 1.103 GB, free: 6.41 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.8763, allocations: 8 kB / 1.103 GB, free: 6.402 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.8764, allocations: 53.22 kB / 1.103 GB, free: 6.344 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8764, allocations: 3.984 kB / 1.103 GB, free: 6.34 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8765, allocations: 0 / 1.103 GB, free: 6.34 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8765, allocations: 0 / 1.103 GB, free: 6.34 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.8766, allocations: 146.2 kB / 1.103 GB, free: 6.16 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8766, allocations: 0.5625 kB / 1.103 GB, free: 6.16 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.8767, allocations: 8 kB / 1.103 GB, free: 6.152 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8767, allocations: 3.984 kB / 1.103 GB, free: 6.148 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.8767, allocations: 4.969 kB / 1.103 GB, free: 6.145 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.8767, allocations: 3.906 kB / 1.103 GB, free: 6.141 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8767, allocations: 3.938 kB / 1.103 GB, free: 6.137 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000123/0.8768, allocations: 135.5 kB / 1.103 GB, free: 5.988 MB / 0.7058 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002047/0.877, allocations: 0.5155 MB / 1.104 GB, free: 5.453 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.8771, allocations: 81.02 kB / 1.104 GB, free: 5.355 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.8771, allocations: 2.438 kB / 1.104 GB, free: 5.355 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.8772, allocations: 4.875 kB / 1.104 GB, free: 5.352 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.8772, allocations: 0 / 1.104 GB, free: 5.352 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.8772, allocations: 7.984 kB / 1.104 GB, free: 5.344 MB / 0.7058 GB Notification: Performance of sort global known variables: time 3.341e-05/0.8773, allocations: 83.28 kB / 1.104 GB, free: 5.262 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.0009519/0.8782, allocations: 11.91 kB / 1.104 GB, free: 5.25 MB / 0.7058 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.000158/0.8784, allocations: 115.2 kB / 1.104 GB, free: 5.129 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.8785, allocations: 19.98 kB / 1.104 GB, free: 5.109 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8785, allocations: 3.938 kB / 1.104 GB, free: 5.105 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.8785, allocations: 8 kB / 1.104 GB, free: 5.098 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.8787, allocations: 0 / 1.104 GB, free: 5.098 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.8789, allocations: 68.59 kB / 1.104 GB, free: 5.008 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.8792, allocations: 0.6998 MB / 1.105 GB, free: 4.281 MB / 0.7058 GB Notification: Performance of SimCode: time 2.91e-07/0.8792, allocations: 0 / 1.105 GB, free: 4.281 MB / 0.7058 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)