Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001138/0.001138, allocations: 185.3 kB / 366.3 MB, free: 2.004 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.718/1.718, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0009141/0.0009136, allocations: 84.89 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2926/0.2935, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/1.064, allocations: 116.3 MB / 0.9727 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/1.261, allocations: 138.5 MB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.262, allocations: 79.95 kB / 1.108 GB, free: 9.934 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.005144/1.267, allocations: 1.642 MB / 1.11 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.267, allocations: 12 kB / 1.11 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/1.267, allocations: 0 / 1.11 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/1.267, allocations: 163.1 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/1.267, allocations: 3.906 kB / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/1.267, allocations: 0 / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.033e-05/1.267, allocations: 6.625 kB / 1.11 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.35e-05/1.267, allocations: 33.64 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.267, allocations: 0 / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/1.267, allocations: 0 / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/1.267, allocations: 0 / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/1.267, allocations: 126.2 kB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/1.267, allocations: 18.61 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/1.268, allocations: 11.44 kB / 1.11 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/1.268, allocations: 0.5584 MB / 1.11 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/1.268, allocations: 38.47 kB / 1.111 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.268, allocations: 0 / 1.111 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001736/1.268, allocations: 33.64 kB / 1.111 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/1.268, allocations: 55.41 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.118e-05/1.268, allocations: 89.03 kB / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.268, allocations: 25.7 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/1.268, allocations: 80.14 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/1.268, allocations: 3.984 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.268, allocations: 0 / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.269, allocations: 310.8 kB / 1.111 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/1.269, allocations: 0 / 1.111 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/1.269, allocations: 7.938 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/1.269, allocations: 4.062 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.269, allocations: 3.906 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.048e-05/1.269, allocations: 37.7 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.269, allocations: 7.984 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.269, allocations: 0 / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.269, allocations: 0 / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/1.269, allocations: 7.938 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/1.269, allocations: 1.688 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/1.269, allocations: 0 / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/1.269, allocations: 0 / 1.111 GB, free: 6.363 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 (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 6.207e-05/1.269, allocations: 105 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/1.269, allocations: 7.906 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/1.269, allocations: 36.69 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.269, allocations: 0 / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.269, allocations: 0 / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.269, allocations: 8.031 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.69e-05/1.269, allocations: 134.2 kB / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/1.269, allocations: 0 / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/1.269, allocations: 0 / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.269, allocations: 3.906 kB / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.269, allocations: 7.984 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/1.269, allocations: 0 / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.269, allocations: 0 / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.145e-05/1.269, allocations: 61.08 kB / 1.112 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002058/1.27, allocations: 445.4 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/1.27, allocations: 81.86 kB / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/1.27, allocations: 0 / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/1.27, allocations: 0 / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/1.27, allocations: 0 / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/1.27, allocations: 4.047 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.879e-05/1.27, allocations: 79.28 kB / 1.112 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007419/1.27, allocations: 15.91 kB / 1.112 GB, free: 5.285 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.00017/1.271, allocations: 103.2 kB / 1.112 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.876e-05/1.271, allocations: 4.562 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.271, allocations: 0 / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.935e-06/1.271, allocations: 11.94 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.855e-05/1.271, allocations: 1.406 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/1.271, allocations: 48.19 kB / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/1.271, allocations: 0.6802 MB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.271, allocations: 0 / 1.113 GB, free: 4.379 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)