Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.002261/0.002261, allocations: 181 kB / 7.457 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7363/0.7363, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001046, allocations: 106.6 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.528/0.5291, allocations: 88.44 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.7515, allocations: 82.3 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6776/1.429, allocations: 110.8 MB / 0.7415 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/1.43, allocations: 80.8 kB / 0.7416 GB, free: 10.73 MB / 0.4948 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.006374/1.436, allocations: 1.685 MB / 0.7432 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/1.436, allocations: 7.656 kB / 0.7432 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/1.436, allocations: 1.688 kB / 0.7432 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/1.436, allocations: 167 kB / 0.7434 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.436, allocations: 0 / 0.7434 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/1.436, allocations: 3.844 kB / 0.7434 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.465e-05/1.436, allocations: 6.344 kB / 0.7434 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/1.437, allocations: 25.7 kB / 0.7434 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.437, allocations: 0 / 0.7434 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.437, allocations: 5.328 kB / 0.7434 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.437, allocations: 0 / 0.7434 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/1.437, allocations: 125.9 kB / 0.7436 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.399e-05/1.437, allocations: 24.17 kB / 0.7436 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/1.437, allocations: 8.734 kB / 0.7436 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/1.437, allocations: 0.5538 MB / 0.7441 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.437, allocations: 32.34 kB / 0.7442 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/1.437, allocations: 7.922 kB / 0.7442 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002322/1.438, allocations: 36.48 kB / 0.7442 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.438, allocations: 56.94 kB / 0.7443 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.662e-05/1.438, allocations: 85.75 kB / 0.7443 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/1.438, allocations: 25.7 kB / 0.7444 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/1.438, allocations: 84.08 kB / 0.7444 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/1.438, allocations: 3.938 kB / 0.7444 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/1.438, allocations: 0 / 0.7444 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.438, allocations: 314.8 kB / 0.7447 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/1.438, allocations: 4.031 kB / 0.7447 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/1.438, allocations: 3.844 kB / 0.7448 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/1.438, allocations: 5.391 kB / 0.7448 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.438, allocations: 0 / 0.7448 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.885e-05/1.438, allocations: 42.38 kB / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.438, allocations: 3.875 kB / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.438, allocations: 0 / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.438, allocations: 5.484 kB / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/1.438, allocations: 0 / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.438, allocations: 6.281 kB / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/1.438, allocations: 0 / 0.7448 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/1.438, allocations: 0 / 0.7448 GB, free: 24.5 MB / 0.5105 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.836e-05/1.438, allocations: 108.8 kB / 0.7449 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/1.438, allocations: 1.594 kB / 0.7449 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/1.439, allocations: 41.75 kB / 0.745 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.439, allocations: 1.688 kB / 0.745 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.439, allocations: 0 / 0.745 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.439, allocations: 0 / 0.745 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.076e-05/1.439, allocations: 131.4 kB / 0.7451 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.439, allocations: 0 / 0.7451 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/1.439, allocations: 3.906 kB / 0.7451 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.439, allocations: 0 / 0.7451 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.439, allocations: 4.75 kB / 0.7451 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.439, allocations: 1.125 kB / 0.7451 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.439, allocations: 0 / 0.7451 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.322e-05/1.439, allocations: 62.39 kB / 0.7452 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001973/1.439, allocations: 443.7 kB / 0.7456 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/1.439, allocations: 77.11 kB / 0.7457 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/1.439, allocations: 2.109 kB / 0.7457 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/1.439, allocations: 4.062 kB / 0.7457 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/1.439, allocations: 3.844 kB / 0.7457 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/1.439, allocations: 3.906 kB / 0.7457 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.992e-05/1.439, allocations: 83.16 kB / 0.7457 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008079/1.44, allocations: 9.484 kB / 0.7458 GB, free: 23.5 MB / 0.5105 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.0001975/1.44, allocations: 104.1 kB / 0.7459 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.119e-05/1.44, allocations: 3.781 kB / 0.7459 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.44, allocations: 4.062 kB / 0.7459 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.58e-06/1.44, allocations: 3.875 kB / 0.7459 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/1.44, allocations: 2.656 kB / 0.7459 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/1.441, allocations: 42.73 kB / 0.7459 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/1.441, allocations: 0.694 MB / 0.7466 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/1.441, allocations: 3.938 kB / 0.7466 GB, free: 22.63 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)