Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001959/0.001959, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.711/1.711, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.001072/0.001073, allocations: 88.62 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3068/0.308, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7166/1.025, allocations: 116.3 MB / 0.9727 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/1.208, allocations: 137.7 MB / 1.107 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.208, allocations: 81.31 kB / 1.107 GB, free: 10.76 MB / 0.7136 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.005669/1.214, allocations: 2.016 MB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.214, allocations: 16.77 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/1.214, allocations: 3.906 kB / 1.109 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/1.214, allocations: 159.7 kB / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.214, allocations: 4 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/1.214, allocations: 0.5938 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.843e-05/1.214, allocations: 13.75 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/1.215, allocations: 41.69 kB / 1.109 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.215, allocations: 0.5312 kB / 1.109 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.215, allocations: 4.625 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.215, allocations: 0 / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/1.215, allocations: 134.9 kB / 1.11 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/1.215, allocations: 40.14 kB / 1.11 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/1.215, allocations: 21.8 kB / 1.11 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/1.215, allocations: 81.11 kB / 1.11 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/1.215, allocations: 30.56 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/1.215, allocations: 0 / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001064/1.216, allocations: 439.8 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/1.216, allocations: 56.34 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/1.216, allocations: 93 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/1.216, allocations: 25.7 kB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/1.216, allocations: 80.14 kB / 1.11 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/1.216, allocations: 27.59 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/1.216, allocations: 0 / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.216, allocations: 314.8 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/1.216, allocations: 12 kB / 1.111 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/1.216, allocations: 12.12 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/1.217, allocations: 11.98 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.217, allocations: 0.75 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/1.217, allocations: 69.53 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.217, allocations: 8 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.217, allocations: 0.625 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.217, allocations: 0 / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/1.217, allocations: 12 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/1.217, allocations: 0 / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/1.217, allocations: 0 / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/1.217, allocations: 11.73 kB / 1.111 GB, free: 6.812 MB / 0.7136 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 7.558e-05/1.217, allocations: 108.9 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/1.217, allocations: 0 / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/1.217, allocations: 85.5 kB / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/1.217, allocations: 0 / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.217, allocations: 0 / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.217, allocations: 0 / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/1.217, allocations: 142.1 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.217, allocations: 4.938 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/1.217, allocations: 15.98 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.217, allocations: 0 / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/1.217, allocations: 0.6562 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.217, allocations: 0 / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.218, allocations: 0 / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001772/1.218, allocations: 115.2 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002847/1.218, allocations: 0.4983 MB / 1.112 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/1.218, allocations: 85 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/1.218, allocations: 4 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/1.218, allocations: 0.625 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/1.218, allocations: 0 / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/1.218, allocations: 11.98 kB / 1.112 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.101e-05/1.218, allocations: 79.34 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008961/1.219, allocations: 44.44 kB / 1.112 GB, free: 5.52 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.0002649/1.219, allocations: 139.3 kB / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001121/1.219, allocations: 35.98 kB / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.219, allocations: 0 / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/1.22, allocations: 27.92 kB / 1.112 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/1.22, allocations: 1.219 kB / 1.112 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/1.22, allocations: 94.22 kB / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/1.22, allocations: 0.7024 MB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/1.22, allocations: 0 / 1.113 GB, free: 4.473 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)