Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [: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 1.6.0+build.1/package.mo): time 0.5125/0.5125, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001229/0.001228, allocations: 168.7 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.28/1.28, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001816/0.001816, allocations: 101.6 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.225e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.4457, allocations: 93.77 MB / 0.5897 GB, free: 8.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.446, allocations: 79.95 kB / 0.5898 GB, free: 8.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.009536/0.4556, allocations: 2.821 MB / 0.5925 GB, free: 5.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.4556, allocations: 0 / 0.5925 GB, free: 5.762 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004885/0.4561, allocations: 429.7 kB / 0.5929 GB, free: 5.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4562, allocations: 12.72 kB / 0.593 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.4562, allocations: 10.56 kB / 0.593 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4564, allocations: 175 kB / 0.5931 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4564, allocations: 0 / 0.5931 GB, free: 5.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.4565, allocations: 7.906 kB / 0.5931 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001571/0.4566, allocations: 59.97 kB / 0.5932 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4568, allocations: 99.7 kB / 0.5933 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4568, allocations: 0 / 0.5933 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.4568, allocations: 7.047 kB / 0.5933 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4568, allocations: 0 / 0.5933 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.4571, allocations: 150.2 kB / 0.5934 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4572, allocations: 94.47 kB / 0.5935 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.4573, allocations: 64.91 kB / 0.5936 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.4573, allocations: 0 / 0.5936 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4574, allocations: 30.56 kB / 0.5936 GB, free: 4.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.4574, allocations: 0 / 0.5936 GB, free: 4.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000346/0.4577, allocations: 169.5 kB / 0.5938 GB, free: 4.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.4578, allocations: 81.09 kB / 0.5939 GB, free: 4.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.4579, allocations: 131.6 kB / 0.594 GB, free: 4.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.458, allocations: 25.7 kB / 0.594 GB, free: 4.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.458, allocations: 96.03 kB / 0.5941 GB, free: 3.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.458, allocations: 7.906 kB / 0.5941 GB, free: 3.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-06/0.4581, allocations: 4 kB / 0.5941 GB, free: 3.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4582, allocations: 318.7 kB / 0.5944 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.4583, allocations: 100.7 kB / 0.5945 GB, free: 3.531 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.4584, allocations: 111.8 kB / 0.5946 GB, free: 3.422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.4587, allocations: 99.94 kB / 0.5947 GB, free: 3.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.4587, allocations: 4.031 kB / 0.5947 GB, free: 3.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000387/0.4591, allocations: 265.4 kB / 0.595 GB, free: 3.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4591, allocations: 4 kB / 0.595 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4591, allocations: 0 / 0.595 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4592, allocations: 0 / 0.595 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.4592, allocations: 3.562 kB / 0.595 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.4592, allocations: 4 kB / 0.595 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.4593, allocations: 11.84 kB / 0.595 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.4593, allocations: 8 kB / 0.595 GB, free: 3.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000107/0.4594, allocations: 138.7 kB / 0.5951 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.4594, allocations: 7.906 kB / 0.5951 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.4595, allocations: 8.125 kB / 0.5952 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4595, allocations: 0 / 0.5952 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4595, allocations: 0 / 0.5952 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4595, allocations: 3.906 kB / 0.5952 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4596, allocations: 157.9 kB / 0.5953 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4596, allocations: 0 / 0.5953 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.4596, allocations: 0 / 0.5953 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4596, allocations: 0 / 0.5953 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.4597, allocations: 11.94 kB / 0.5953 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4597, allocations: 0 / 0.5953 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4597, allocations: 0.625 kB / 0.5953 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002728/0.4599, allocations: 200.8 kB / 0.5955 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.46, allocations: 81.02 kB / 0.5956 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.46, allocations: 4 kB / 0.5956 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.4601, allocations: 7.938 kB / 0.5956 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.4602, allocations: 16.77 kB / 0.5956 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4602, allocations: 0 / 0.5956 GB, free: 2.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.234e-05/0.4603, allocations: 102.2 kB / 0.5957 GB, free: 2.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.4607, allocations: 71.92 kB / 0.5958 GB, free: 2.152 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004273/0.4611, allocations: 151.2 kB / 0.5959 GB, free: 1.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.4615, allocations: 251.2 kB / 0.5962 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4615, allocations: 0 / 0.5962 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.4616, allocations: 109.7 kB / 0.5963 GB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.4617, allocations: 12.48 kB / 0.5963 GB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.4621, allocations: 157 kB / 0.5964 GB, free: 1.438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.4624, allocations: 0.7032 MB / 0.5971 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4624, allocations: 0 / 0.5971 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of Templates: time 0.004457/0.4669, allocations: 1.696 MB / 0.5988 GB, free: 15.07 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)