Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_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.004987/0.004987, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.772/0.772, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.575/1.575, allocations: 221.3 MB / 395 MB, free: 10.2 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.001287/0.001287, allocations: 102.7 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5031/0.5045, allocations: 88.44 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.7037, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5832/1.287, allocations: 110.8 MB / 0.7415 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004153/1.287, allocations: 80.22 kB / 0.7416 GB, free: 10.79 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.005592/1.293, allocations: 1.686 MB / 0.7432 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.293, allocations: 7.812 kB / 0.7432 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/1.293, allocations: 4.938 kB / 0.7432 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.293, allocations: 164.7 kB / 0.7434 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.293, allocations: 0 / 0.7434 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/1.293, allocations: 4 kB / 0.7434 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.216e-05/1.293, allocations: 3.938 kB / 0.7434 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.168e-05/1.294, allocations: 34.28 kB / 0.7434 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.294, allocations: 0 / 0.7434 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.294, allocations: 3.984 kB / 0.7434 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.294, allocations: 0 / 0.7434 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/1.294, allocations: 124.1 kB / 0.7436 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.44e-05/1.294, allocations: 22.3 kB / 0.7436 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/1.294, allocations: 8.859 kB / 0.7436 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/1.294, allocations: 0.5582 MB / 0.7441 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.294, allocations: 32.31 kB / 0.7442 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.294, allocations: 0 / 0.7442 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001896/1.295, allocations: 39.12 kB / 0.7442 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/1.295, allocations: 57.08 kB / 0.7443 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.904e-05/1.295, allocations: 85 kB / 0.7443 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/1.295, allocations: 25.7 kB / 0.7444 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/1.295, allocations: 84.08 kB / 0.7444 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/1.295, allocations: 7.688 kB / 0.7445 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/1.295, allocations: 0 / 0.7445 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.295, allocations: 314.8 kB / 0.7448 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/1.295, allocations: 3.844 kB / 0.7448 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/1.295, allocations: 4 kB / 0.7448 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/1.295, allocations: 5.062 kB / 0.7448 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.295, allocations: 0 / 0.7448 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.588e-05/1.295, allocations: 31.06 kB / 0.7448 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.295, allocations: 9.078 kB / 0.7448 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.295, allocations: 3.844 kB / 0.7448 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/1.295, allocations: 0 / 0.7448 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.142e-05/1.295, allocations: 0.75 kB / 0.7448 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.295, allocations: 0 / 0.7448 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/1.295, allocations: 1.922 kB / 0.7448 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/1.295, allocations: 7.844 kB / 0.7448 GB, free: 24.57 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 7.382e-05/1.295, allocations: 104.9 kB / 0.7449 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/1.295, allocations: 0 / 0.7449 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/1.295, allocations: 42.59 kB / 0.745 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.295, allocations: 0 / 0.745 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.296, allocations: 10.66 kB / 0.745 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.296, allocations: 0 / 0.745 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.165e-05/1.296, allocations: 128.5 kB / 0.7451 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.296, allocations: 0 / 0.7451 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/1.296, allocations: 3.875 kB / 0.7451 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.296, allocations: 0 / 0.7451 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/1.296, allocations: 1.781 kB / 0.7451 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.296, allocations: 3.938 kB / 0.7451 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.296, allocations: 0 / 0.7451 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.562e-05/1.296, allocations: 61.97 kB / 0.7452 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001945/1.296, allocations: 440.9 kB / 0.7456 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/1.296, allocations: 77.11 kB / 0.7457 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/1.296, allocations: 1.219 kB / 0.7457 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-06/1.296, allocations: 0 / 0.7457 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/1.296, allocations: 7.906 kB / 0.7457 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/1.296, allocations: 3.906 kB / 0.7457 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.643e-05/1.296, allocations: 79.22 kB / 0.7457 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007837/1.297, allocations: 13.8 kB / 0.7458 GB, free: 23.56 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.0002345/1.297, allocations: 103.8 kB / 0.7459 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.871e-05/1.297, allocations: 3.844 kB / 0.7459 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.297, allocations: 0 / 0.7459 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.4e-06/1.297, allocations: 3.844 kB / 0.7459 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/1.297, allocations: 4.125 kB / 0.7459 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/1.297, allocations: 45.75 kB / 0.7459 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/1.298, allocations: 0.6857 MB / 0.7466 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.298, allocations: 0 / 0.7466 GB, free: 22.71 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)