Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.454/2.454, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001565/0.001565, allocations: 173.3 kB / 360.3 MB, free: 7.535 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.888/1.888, allocations: 205.1 MB / 0.6187 GB, free: 13.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001273, allocations: 88.61 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2825/0.2838, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6356/0.9194, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/1.143, allocations: 137.2 MB / 1.097 GB, free: 3.672 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.144, allocations: 78.08 kB / 1.097 GB, free: 3.598 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.005684/1.15, allocations: 1.219 MB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.15, allocations: 9.969 kB / 1.098 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/1.15, allocations: 4 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.15, allocations: 163.1 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/1.15, allocations: 3.906 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/1.15, allocations: 0.8125 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.865e-05/1.15, allocations: 0.5625 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.15e-05/1.15, allocations: 34.3 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.15, allocations: 0.8438 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/1.15, allocations: 0 / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.15, allocations: 1.5 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/1.15, allocations: 122.8 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/1.15, allocations: 24.2 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/1.15, allocations: 4.859 kB / 1.098 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/1.151, allocations: 0.5646 MB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/1.151, allocations: 34.47 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.575e-06/1.151, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001917/1.151, allocations: 32.38 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/1.151, allocations: 52 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/1.151, allocations: 85.84 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.151, allocations: 29.7 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/1.151, allocations: 81.27 kB / 1.099 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/1.151, allocations: 0 / 1.099 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.151, allocations: 0.8438 kB / 1.099 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.152, allocations: 314.8 kB / 1.099 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/1.152, allocations: 0.5 kB / 1.099 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/1.152, allocations: 8.5 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/1.152, allocations: 4.656 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.152, allocations: 4.531 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.44e-05/1.152, allocations: 34.55 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.152, allocations: 4 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/1.152, allocations: 3.984 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.152, allocations: 0.7188 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/1.152, allocations: 4.625 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/1.152, allocations: 2.062 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/1.152, allocations: 2.281 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/1.152, allocations: 4.5 kB / 1.1 GB, free: 0.4922 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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 7.915e-05/1.152, allocations: 105.3 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/1.152, allocations: 4.594 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/1.152, allocations: 46.44 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.152, allocations: 1 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.152, allocations: 0 / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.152, allocations: 0.6094 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/1.152, allocations: 127 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.152, allocations: 0 / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/1.153, allocations: 1.938 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/1.153, allocations: 3.906 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/1.153, allocations: 0.5625 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.153, allocations: 8.797 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.153, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001143/1.153, allocations: 57.05 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002898/1.153, allocations: 449.6 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/1.153, allocations: 77.11 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.153, allocations: 4.656 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/1.153, allocations: 1.938 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/1.153, allocations: 0 / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/1.153, allocations: 0.5625 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.09e-05/1.153, allocations: 79.31 kB / 1.1 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001086/1.154, allocations: 23.83 kB / 1.101 GB, free: 15.43 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 (1): * Single equations (assignments): 1 * 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.0002034/1.155, allocations: 99.25 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.89e-05/1.155, allocations: 8 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.155, allocations: 0 / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/1.155, allocations: 1.594 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/1.155, allocations: 4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/1.155, allocations: 52.12 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/1.155, allocations: 0.6763 MB / 1.101 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.155, allocations: 4 kB / 1.101 GB, free: 14.53 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)