Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [: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.1-maint.8.0.x/package.mo): time 1.345/1.345, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.00113/0.00113, allocations: 185.3 kB / 361.1 MB, free: 7.09 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.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007673/0.0007672, allocations: 89.22 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.714e-06, allocations: 4 kB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.401, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.5271, allocations: 137.8 MB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.5273, allocations: 76.47 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006457/0.5338, allocations: 1.999 MB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5338, allocations: 0 / 1.1 GB, free: 268 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000267/0.5341, allocations: 346.3 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5341, allocations: 8.531 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.5342, allocations: 7.906 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.5343, allocations: 167 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.5343, allocations: 1.312 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.5343, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.381e-05/0.5344, allocations: 19.91 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.5345, allocations: 49.67 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.5345, allocations: 2.469 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.5345, allocations: 0 / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5345, allocations: 0 / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.5346, allocations: 150.1 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.5347, allocations: 30.33 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.5348, allocations: 33.36 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/0.5351, allocations: 0.5547 MB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.5352, allocations: 35.2 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.5352, allocations: 0.8125 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001539/0.5367, allocations: 0.8472 MB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.5368, allocations: 60.19 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.016e-05/0.5368, allocations: 85.84 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.5368, allocations: 25.7 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.5369, allocations: 80.83 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.5369, allocations: 54.27 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.5369, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.537, allocations: 314.8 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.5371, allocations: 24 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.5372, allocations: 60.22 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.5372, allocations: 32.89 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5373, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001915/0.5374, allocations: 111.2 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.5375, allocations: 8 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5375, allocations: 0 / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5375, allocations: 4 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.5376, allocations: 23.98 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5376, allocations: 7.938 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.5377, allocations: 4.125 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5377, allocations: 8.938 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.873e-05/0.5378, allocations: 105 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.5378, allocations: 7.891 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.5381, allocations: 129.2 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5381, allocations: 7.906 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5381, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5381, allocations: 2.625 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.5386, allocations: 378.3 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5386, allocations: 4 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.5387, allocations: 29.88 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5387, allocations: 4 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.5387, allocations: 3.984 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5387, allocations: 4 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5388, allocations: 4.781 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003137/0.5391, allocations: 305.5 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.5391, allocations: 85.02 kB / 1.104 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.5391, allocations: 3.984 kB / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.5393, allocations: 4 kB / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.5393, allocations: 7.906 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.5393, allocations: 11.98 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.509e-05/0.5393, allocations: 83.34 kB / 1.104 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002483/0.5396, allocations: 32.14 kB / 1.104 GB, free: 11.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001813/0.5398, allocations: 142.8 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.5399, allocations: 71.94 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5399, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.54, allocations: 43.92 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.5401, allocations: 6.109 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.5405, allocations: 156.1 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.5408, allocations: 0.7129 MB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5408, allocations: 0.6562 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.002829/0.5436, allocations: 1.113 MB / 1.107 GB, free: 9.121 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)