Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.508/2.508, allocations: 284.8 MB / 292.1 MB, free: 9.789 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003071/0.00307, allocations: 179.1 kB / 360.3 MB, free: 1 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.6187 GB, free: 3.309 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 96.69 kB / 0.7317 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6056/0.6071, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.8414, allocations: 115.3 MB / 0.9628 GB, free: 57.03 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.691/1.532, allocations: 138.4 MB / 1.098 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.533, allocations: 73.97 kB / 1.098 GB, free: 45.14 MB / 0.7136 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.00798/1.541, allocations: 1.842 MB / 1.1 GB, free: 44.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.541, allocations: 7.75 kB / 1.1 GB, free: 44.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/1.541, allocations: 7.781 kB / 1.1 GB, free: 44.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/1.541, allocations: 170.7 kB / 1.1 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.541, allocations: 0 / 1.1 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/1.541, allocations: 3.625 kB / 1.1 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.272e-05/1.541, allocations: 17.5 kB / 1.1 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/1.541, allocations: 46.89 kB / 1.1 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/1.541, allocations: 4 kB / 1.1 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/1.541, allocations: 0 / 1.1 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.541, allocations: 0 / 1.1 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/1.542, allocations: 253.2 kB / 1.1 GB, free: 44.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.909e-05/1.542, allocations: 33.39 kB / 1.1 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/1.542, allocations: 15.48 kB / 1.1 GB, free: 44.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/1.543, allocations: 0.5531 MB / 1.101 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.543, allocations: 32.56 kB / 1.101 GB, free: 43.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 4.529e-06/1.543, allocations: 0 / 1.101 GB, free: 43.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003673/1.543, allocations: 51.27 kB / 1.101 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/1.543, allocations: 51.44 kB / 1.101 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/1.543, allocations: 103 kB / 1.101 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/1.543, allocations: 25.7 kB / 1.101 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/1.543, allocations: 93.95 kB / 1.101 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/1.543, allocations: 6.344 kB / 1.101 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.543, allocations: 0 / 1.101 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.598e-05/1.543, allocations: 310.8 kB / 1.101 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/1.543, allocations: 12.69 kB / 1.101 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/1.543, allocations: 6.375 kB / 1.101 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/1.543, allocations: 14.11 kB / 1.101 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.543, allocations: 0 / 1.101 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/1.544, allocations: 44.3 kB / 1.102 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.544, allocations: 14.7 kB / 1.102 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.544, allocations: 0 / 1.102 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.544, allocations: 0 / 1.102 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/1.544, allocations: 3.875 kB / 1.102 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.544, allocations: 0 / 1.102 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/1.544, allocations: 7.906 kB / 1.102 GB, free: 42.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/1.544, allocations: 3.938 kB / 1.102 GB, free: 42.81 MB / 0.7136 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 5.307e-05/1.544, allocations: 113 kB / 1.102 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/1.544, allocations: 2.688 kB / 1.102 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/1.544, allocations: 56 kB / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.544, allocations: 7.781 kB / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.544, allocations: 0 / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.544, allocations: 0 / 1.102 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/1.544, allocations: 150.2 kB / 1.102 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.544, allocations: 0 / 1.102 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/1.544, allocations: 3.625 kB / 1.102 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.544, allocations: 0 / 1.102 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/1.544, allocations: 7.547 kB / 1.102 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.544, allocations: 0 / 1.102 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.545, allocations: 0 / 1.102 GB, free: 42.49 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001408/1.545, allocations: 146.3 kB / 1.102 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001849/1.545, allocations: 0.5145 MB / 1.103 GB, free: 41.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/1.545, allocations: 81.02 kB / 1.103 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/1.545, allocations: 0 / 1.103 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.545, allocations: 3.156 kB / 1.103 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/1.545, allocations: 7.859 kB / 1.103 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/1.545, allocations: 3.188 kB / 1.103 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.585e-05/1.545, allocations: 81.12 kB / 1.103 GB, free: 41.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001139/1.546, allocations: 18.94 kB / 1.103 GB, free: 41.66 MB / 0.7136 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.0001548/1.546, allocations: 107.9 kB / 1.103 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.703e-05/1.547, allocations: 12.22 kB / 1.103 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.547, allocations: 7.688 kB / 1.103 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/1.547, allocations: 6.188 kB / 1.103 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/1.547, allocations: 4.062 kB / 1.103 GB, free: 41.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/1.547, allocations: 67.34 kB / 1.103 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/1.548, allocations: 0.6937 MB / 1.104 GB, free: 56.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.693e-06/1.548, allocations: 3.875 kB / 1.104 GB, free: 56.8 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)