Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.0.1-maint.8.0.x/package.mo): time 1.401/1.401, allocations: 285.5 MB / 292.8 MB, free: 1.109 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000992/0.000992, allocations: 182.7 kB / 361.1 MB, free: 15.46 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 0.6195 GB, free: 6.137 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 89.62 kB / 0.7326 GB, free: 46.95 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2006/0.2015, allocations: 121.5 MB / 0.8512 GB, free: 12.96 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.7118, allocations: 115.3 MB / 0.9638 GB, free: 85.8 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.8555, allocations: 136.7 MB / 1.097 GB, free: 12.99 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.8557, allocations: 72.66 kB / 1.097 GB, free: 12.92 MB / 0.7061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.005617/0.8613, allocations: 2.029 MB / 1.099 GB, free: 10.88 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8614, allocations: 9.125 kB / 1.099 GB, free: 10.87 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.8614, allocations: 7.906 kB / 1.099 GB, free: 10.86 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.8615, allocations: 159.9 kB / 1.1 GB, free: 10.67 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.8616, allocations: 8.469 kB / 1.1 GB, free: 10.66 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.8616, allocations: 4 kB / 1.1 GB, free: 10.66 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.122e-05/0.8617, allocations: 11.98 kB / 1.1 GB, free: 10.65 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.2e-05/0.8617, allocations: 37.69 kB / 1.1 GB, free: 10.61 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.8617, allocations: 0 / 1.1 GB, free: 10.61 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8617, allocations: 3.906 kB / 1.1 GB, free: 10.6 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8618, allocations: 4 kB / 1.1 GB, free: 10.6 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.8619, allocations: 136.2 kB / 1.1 GB, free: 10.43 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.862, allocations: 29.77 kB / 1.1 GB, free: 10.39 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.862, allocations: 21.17 kB / 1.1 GB, free: 10.38 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.613e-05/0.8621, allocations: 81.11 kB / 1.1 GB, free: 10.28 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.8621, allocations: 38.48 kB / 1.1 GB, free: 10.23 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.8621, allocations: 0 / 1.1 GB, free: 10.23 MB / 0.7061 GB Notification: Performance of matching and sorting (n=7): time 0.0009852/0.8631, allocations: 439.3 kB / 1.1 GB, free: 9.742 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.8632, allocations: 56.16 kB / 1.1 GB, free: 9.676 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.8632, allocations: 86.94 kB / 1.1 GB, free: 9.586 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.8632, allocations: 25.7 kB / 1.1 GB, free: 9.555 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.8633, allocations: 89.33 kB / 1.101 GB, free: 9.465 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.8633, allocations: 23.64 kB / 1.101 GB, free: 9.441 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.8633, allocations: 0 / 1.101 GB, free: 9.441 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.8634, allocations: 315.4 kB / 1.101 GB, free: 9.125 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.8634, allocations: 11.78 kB / 1.101 GB, free: 9.117 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.8635, allocations: 12 kB / 1.101 GB, free: 9.105 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.8635, allocations: 15.98 kB / 1.101 GB, free: 9.09 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.8635, allocations: 0 / 1.101 GB, free: 9.09 MB / 0.7061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.8636, allocations: 64.88 kB / 1.101 GB, free: 9.023 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.8636, allocations: 4 kB / 1.101 GB, free: 9.02 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8637, allocations: 0 / 1.101 GB, free: 9.02 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.8637, allocations: 0 / 1.101 GB, free: 9.02 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.8638, allocations: 23.92 kB / 1.101 GB, free: 8.996 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.8638, allocations: 0 / 1.101 GB, free: 8.996 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.8638, allocations: 4.688 kB / 1.101 GB, free: 8.992 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.8638, allocations: 1.406 kB / 1.101 GB, free: 8.992 MB / 0.7061 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 (8): * Single equations (assignments): 8 * 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 5.882e-05/0.8639, allocations: 111.1 kB / 1.101 GB, free: 8.879 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.8639, allocations: 4.75 kB / 1.101 GB, free: 8.875 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.8641, allocations: 78.33 kB / 1.101 GB, free: 8.793 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8641, allocations: 4 kB / 1.101 GB, free: 8.789 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8641, allocations: 4 kB / 1.101 GB, free: 8.785 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8641, allocations: 0 / 1.101 GB, free: 8.785 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.484e-05/0.8642, allocations: 138.1 kB / 1.101 GB, free: 8.613 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8642, allocations: 0 / 1.101 GB, free: 8.613 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.8643, allocations: 20.86 kB / 1.101 GB, free: 8.594 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8643, allocations: 0 / 1.101 GB, free: 8.594 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.8643, allocations: 4 kB / 1.101 GB, free: 8.59 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8643, allocations: 0 / 1.101 GB, free: 8.59 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8643, allocations: 0 / 1.101 GB, free: 8.59 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001674/0.8645, allocations: 118.2 kB / 1.101 GB, free: 8.457 MB / 0.7061 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000262/0.8648, allocations: 0.4986 MB / 1.102 GB, free: 7.938 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.8648, allocations: 81.02 kB / 1.102 GB, free: 7.84 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.8648, allocations: 0 / 1.102 GB, free: 7.84 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.8649, allocations: 128 / 1.102 GB, free: 7.84 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.8649, allocations: 11.98 kB / 1.102 GB, free: 7.828 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.8649, allocations: 4 kB / 1.102 GB, free: 7.824 MB / 0.7061 GB Notification: Performance of sort global known variables: time 2.346e-05/0.865, allocations: 79.22 kB / 1.102 GB, free: 7.746 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0007731/0.8657, allocations: 39.94 kB / 1.102 GB, free: 7.707 MB / 0.7061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002473/0.866, allocations: 143.4 kB / 1.102 GB, free: 7.559 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.8661, allocations: 38.67 kB / 1.102 GB, free: 7.523 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8661, allocations: 4 kB / 1.102 GB, free: 7.52 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.8661, allocations: 20.09 kB / 1.102 GB, free: 7.5 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.278e-05/0.8662, allocations: 0 / 1.102 GB, free: 7.5 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.8665, allocations: 92.92 kB / 1.102 GB, free: 7.387 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.8667, allocations: 0.6989 MB / 1.103 GB, free: 6.664 MB / 0.7061 GB Notification: Performance of SimCode: time 2.71e-07/0.8667, allocations: 0 / 1.103 GB, free: 6.664 MB / 0.7061 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)