Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.8 MB / 297 MB, free: 9.008 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.001121/0.001121, allocations: 173.3 kB / 366.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001013, allocations: 95.31 kB / 0.7396 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5563/0.5573, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.7928, allocations: 116.3 MB / 0.9726 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7065/1.499, allocations: 139.4 MB / 1.109 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.5, allocations: 72.53 kB / 1.109 GB, free: 16.14 MB / 0.6823 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.007875/1.508, allocations: 2.171 MB / 1.111 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.508, allocations: 8.438 kB / 1.111 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/1.508, allocations: 7.062 kB / 1.111 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.508, allocations: 170.5 kB / 1.111 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/1.508, allocations: 1.969 kB / 1.111 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.508, allocations: 6.016 kB / 1.111 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.983e-05/1.508, allocations: 17.92 kB / 1.111 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/1.508, allocations: 41.86 kB / 1.111 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.508, allocations: 1.25 kB / 1.111 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.508, allocations: 0 / 1.111 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.508, allocations: 1.062 kB / 1.111 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/1.509, allocations: 263.8 kB / 1.111 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.813e-05/1.509, allocations: 28.81 kB / 1.111 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/1.509, allocations: 9.891 kB / 1.112 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/1.509, allocations: 0.5585 MB / 1.112 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/1.509, allocations: 33.02 kB / 1.112 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.509, allocations: 1.062 kB / 1.112 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002365/1.51, allocations: 48.83 kB / 1.112 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/1.51, allocations: 54.64 kB / 1.112 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/1.51, allocations: 100.2 kB / 1.112 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/1.51, allocations: 30.86 kB / 1.112 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/1.51, allocations: 91.53 kB / 1.112 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/1.51, allocations: 7.844 kB / 1.112 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/1.51, allocations: 1.094 kB / 1.112 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/1.51, allocations: 318.6 kB / 1.113 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/1.51, allocations: 5.844 kB / 1.113 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/1.51, allocations: 3.406 kB / 1.113 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/1.51, allocations: 9.469 kB / 1.113 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.51, allocations: 0 / 1.113 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.918e-05/1.51, allocations: 55.67 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.51, allocations: 5.938 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.51, allocations: 0.8125 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.51, allocations: 1 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/1.51, allocations: 7.641 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/1.51, allocations: 0 / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/1.51, allocations: 3 kB / 1.113 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/1.51, allocations: 2.594 kB / 1.113 GB, free: 13.77 MB / 0.6823 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 4.644e-05/1.51, allocations: 110 kB / 1.113 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/1.51, allocations: 2.406 kB / 1.113 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/1.51, allocations: 54.8 kB / 1.113 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.51, allocations: 3.906 kB / 1.113 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.51, allocations: 0 / 1.113 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.51, allocations: 1.062 kB / 1.113 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/1.511, allocations: 139 kB / 1.113 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.511, allocations: 2.406 kB / 1.113 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/1.511, allocations: 18.7 kB / 1.113 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.511, allocations: 0 / 1.113 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/1.511, allocations: 1.188 kB / 1.113 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.511, allocations: 1.641 kB / 1.113 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.511, allocations: 0 / 1.113 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001087/1.511, allocations: 142.7 kB / 1.113 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001542/1.511, allocations: 0.5127 MB / 1.114 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/1.511, allocations: 83.36 kB / 1.114 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/1.511, allocations: 1.188 kB / 1.114 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/1.511, allocations: 4.828 kB / 1.114 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/1.511, allocations: 6.172 kB / 1.114 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/1.511, allocations: 1.188 kB / 1.114 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.719e-05/1.511, allocations: 87.83 kB / 1.114 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008254/1.512, allocations: 18.75 kB / 1.114 GB, free: 12.62 MB / 0.6823 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.0001787/1.512, allocations: 108.4 kB / 1.114 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.23e-05/1.512, allocations: 17.77 kB / 1.114 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.512, allocations: 0 / 1.114 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/1.512, allocations: 5.688 kB / 1.114 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/1.513, allocations: 9.906 kB / 1.114 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/1.513, allocations: 74.06 kB / 1.114 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/1.513, allocations: 0.6934 MB / 1.115 GB, free: 27.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/1.513, allocations: 0 / 1.115 GB, free: 27.75 MB / 0.698 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)