Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7794/0.7794, allocations: 141.8 MB / 149.1 MB, free: 13.3 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 173.5 kB / 181.9 MB, free: 9.973 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.3 MB / 436 MB, free: 2.445 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 101.8 kB / 0.507 GB, free: 17.85 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 275.3 kB / 0.5884 GB, free: 3.961 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.988e-06/1.011e-05, allocations: 4.031 kB / 0.6759 GB, free: 136.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1793, allocations: 82.78 MB / 0.7567 GB, free: 83.52 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.3047, allocations: 107.4 MB / 0.8616 GB, free: 7.988 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/0.3052, allocations: 80.62 kB / 0.8617 GB, free: 7.91 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.00614/0.3114, allocations: 1.706 MB / 0.8633 GB, free: 6.203 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3114, allocations: 0 / 0.8633 GB, free: 6.203 MB / 0.5419 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.0003588/0.3118, allocations: 330.5 kB / 0.8637 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3119, allocations: 8.031 kB / 0.8637 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.3119, allocations: 3.984 kB / 0.8637 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3121, allocations: 166.9 kB / 0.8638 GB, free: 5.621 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3121, allocations: 4 kB / 0.8638 GB, free: 5.617 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.3121, allocations: 0 / 0.8638 GB, free: 5.617 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.294e-05/0.3122, allocations: 15.94 kB / 0.8639 GB, free: 5.602 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.141e-05/0.3123, allocations: 37.69 kB / 0.8639 GB, free: 5.555 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3123, allocations: 0 / 0.8639 GB, free: 5.555 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3123, allocations: 0 / 0.8639 GB, free: 5.555 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3124, allocations: 4 kB / 0.8639 GB, free: 5.551 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3125, allocations: 142.1 kB / 0.864 GB, free: 5.375 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/0.3126, allocations: 33.7 kB / 0.8641 GB, free: 5.336 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.3127, allocations: 16.98 kB / 0.8641 GB, free: 5.316 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.3128, allocations: 81.11 kB / 0.8642 GB, free: 5.219 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3128, allocations: 34.62 kB / 0.8642 GB, free: 5.176 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3128, allocations: 3.938 kB / 0.8642 GB, free: 5.172 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7): time 0.001183/0.314, allocations: 439.3 kB / 0.8646 GB, free: 4.672 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.3141, allocations: 59.31 kB / 0.8647 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.3141, allocations: 85 kB / 0.8647 GB, free: 4.512 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3142, allocations: 25.7 kB / 0.8648 GB, free: 4.48 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.3142, allocations: 80.27 kB / 0.8648 GB, free: 4.398 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3143, allocations: 27.66 kB / 0.8649 GB, free: 4.371 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.3143, allocations: 3.938 kB / 0.8649 GB, free: 4.367 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3144, allocations: 318.8 kB / 0.8652 GB, free: 4.047 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.3144, allocations: 8 kB / 0.8652 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.3144, allocations: 12 kB / 0.8652 GB, free: 4.027 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.3145, allocations: 11.98 kB / 0.8652 GB, free: 4.016 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3145, allocations: 4 kB / 0.8652 GB, free: 4.012 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001214/0.3146, allocations: 69.53 kB / 0.8653 GB, free: 3.938 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3146, allocations: 4 kB / 0.8653 GB, free: 3.934 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3147, allocations: 4 kB / 0.8653 GB, free: 3.93 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3147, allocations: 0 / 0.8653 GB, free: 3.93 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.3148, allocations: 12 kB / 0.8653 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3148, allocations: 0 / 0.8653 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.3148, allocations: 0 / 0.8653 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3148, allocations: 7.984 kB / 0.8653 GB, free: 3.91 MB / 0.5419 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.883e-05/0.3149, allocations: 104.9 kB / 0.8654 GB, free: 3.801 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.3149, allocations: 3.906 kB / 0.8654 GB, free: 3.797 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.3151, allocations: 81.88 kB / 0.8655 GB, free: 3.707 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3151, allocations: 0 / 0.8655 GB, free: 3.707 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3151, allocations: 0 / 0.8655 GB, free: 3.707 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3152, allocations: 0 / 0.8655 GB, free: 3.707 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3153, allocations: 146.4 kB / 0.8656 GB, free: 3.527 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3153, allocations: 0 / 0.8656 GB, free: 3.527 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.3154, allocations: 27.92 kB / 0.8657 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3154, allocations: 0 / 0.8657 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3154, allocations: 0 / 0.8657 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3154, allocations: 0 / 0.8657 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3154, allocations: 4 kB / 0.8657 GB, free: 3.496 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002352/0.3157, allocations: 109 kB / 0.8658 GB, free: 3.371 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.3157, allocations: 77.11 kB / 0.8658 GB, free: 3.277 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3157, allocations: 0 / 0.8658 GB, free: 3.277 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.3158, allocations: 3.906 kB / 0.8658 GB, free: 3.273 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.3158, allocations: 8 kB / 0.8659 GB, free: 3.266 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3158, allocations: 3.984 kB / 0.8659 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.488e-05/0.3159, allocations: 87.28 kB / 0.8659 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002378/0.3161, allocations: 35.94 kB / 0.866 GB, free: 3.141 MB / 0.5419 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.0002515/0.3164, allocations: 143.2 kB / 0.8661 GB, free: 2.992 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.3165, allocations: 32 kB / 0.8661 GB, free: 2.961 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3165, allocations: 0 / 0.8661 GB, free: 2.961 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.3165, allocations: 27.92 kB / 0.8662 GB, free: 2.934 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.3166, allocations: 1.625 kB / 0.8662 GB, free: 2.934 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.317, allocations: 92.3 kB / 0.8663 GB, free: 2.82 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.3173, allocations: 0.6958 MB / 0.8669 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of SimCode: time 2.2e-07/0.3173, allocations: 0 / 0.8669 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of Templates: time 0.003161/0.3205, allocations: 0.887 MB / 0.8678 GB, free: 1.242 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)