Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.752/2.752, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001637/0.001637, allocations: 189.2 kB / 360.3 MB, free: 7.508 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.914/1.914, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001223/0.001223, allocations: 89.5 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3068/0.3081, allocations: 121.4 MB / 0.8502 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6409/0.9491, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/1.186, allocations: 136.6 MB / 1.096 GB, free: 4.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.186, allocations: 83.58 kB / 1.096 GB, free: 4.195 MB / 0.698 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.009808/1.196, allocations: 2.014 MB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.196, allocations: 12.5 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.196, allocations: 7 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/1.196, allocations: 163.1 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.196, allocations: 4.609 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/1.196, allocations: 1.938 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.059e-05/1.196, allocations: 15.94 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/1.197, allocations: 37.69 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/1.197, allocations: 0 / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.197, allocations: 7.906 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.197, allocations: 0 / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/1.197, allocations: 142.2 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/1.197, allocations: 29.78 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/1.197, allocations: 17.86 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/1.197, allocations: 85.11 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.197, allocations: 35.16 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/1.197, allocations: 0.5312 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001574/1.199, allocations: 429.8 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.199, allocations: 56.03 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/1.199, allocations: 94.2 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.199, allocations: 25.7 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/1.199, allocations: 80.95 kB / 1.099 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/1.199, allocations: 27.53 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/1.199, allocations: 0.5938 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.199, allocations: 319.8 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/1.199, allocations: 12 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/1.199, allocations: 4 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/1.199, allocations: 12.53 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.199, allocations: 0.5 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001896/1.2, allocations: 70.78 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.2, allocations: 11.98 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.2, allocations: 3.125 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.2, allocations: 4.125 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.2, allocations: 12 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.2, allocations: 3.828 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/1.2, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.2, allocations: 4 kB / 1.1 GB, free: 296 kB / 0.698 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 9.612e-05/1.2, allocations: 112.6 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/1.2, allocations: 3.984 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/1.2, allocations: 81.58 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.2, allocations: 0.8438 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.2, allocations: 0 / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.2, allocations: 0 / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/1.201, allocations: 146.1 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.201, allocations: 1.25 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/1.201, allocations: 19.92 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.201, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/1.201, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.201, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.201, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002718/1.201, allocations: 109 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000485/1.202, allocations: 0.4937 MB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/1.202, allocations: 81.91 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/1.202, allocations: 9.797 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/1.202, allocations: 4.125 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/1.202, allocations: 6.703 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.202, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.57e-05/1.202, allocations: 79.28 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00116/1.203, allocations: 47.86 kB / 1.101 GB, free: 15 MB / 0.7136 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.000337/1.204, allocations: 139.2 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001519/1.204, allocations: 35.94 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.204, allocations: 4.094 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/1.204, allocations: 16 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/1.204, allocations: 4.688 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/1.204, allocations: 97.61 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.205, allocations: 0.7005 MB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.205, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)