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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7135/0.7135, allocations: 141.8 MB / 149.1 MB, free: 0.9609 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 197.1 kB / 182 MB, free: 276 kB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.4 MB / 436 MB, free: 4.988 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.0009105/0.0009107, allocations: 100.6 kB / 0.507 GB, free: 1.645 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001693, allocations: 275.6 kB / 0.5885 GB, free: 46.83 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.308/0.3098, allocations: 89.64 MB / 0.676 GB, free: 59.32 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.4331, allocations: 82.79 MB / 0.7568 GB, free: 164 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.5621, allocations: 107.4 MB / 0.8617 GB, free: 4.633 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.5623, allocations: 77.92 kB / 0.8618 GB, free: 4.559 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.005659/0.568, allocations: 2.043 MB / 0.8638 GB, free: 2.469 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.5681, allocations: 8 kB / 0.8638 GB, free: 2.461 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.5681, allocations: 7.906 kB / 0.8638 GB, free: 2.453 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.5682, allocations: 163.1 kB / 0.8639 GB, free: 2.254 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5682, allocations: 0 / 0.8639 GB, free: 2.254 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.5683, allocations: 11.94 kB / 0.8639 GB, free: 2.242 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.899e-05/0.5683, allocations: 12 kB / 0.864 GB, free: 2.23 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.555e-05/0.5684, allocations: 37.69 kB / 0.864 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5684, allocations: 0 / 0.864 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.5684, allocations: 3.938 kB / 0.864 GB, free: 2.184 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5684, allocations: 7.906 kB / 0.864 GB, free: 2.176 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.5686, allocations: 134.2 kB / 0.8641 GB, free: 2.008 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.5686, allocations: 29.77 kB / 0.8642 GB, free: 1.973 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.5687, allocations: 20.98 kB / 0.8642 GB, free: 1.949 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-05/0.5688, allocations: 81.11 kB / 0.8643 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.5688, allocations: 30.56 kB / 0.8643 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5688, allocations: 0 / 0.8643 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7): time 0.001029/0.5699, allocations: 451.2 kB / 0.8647 GB, free: 1.301 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.5699, allocations: 55.39 kB / 0.8648 GB, free: 1.234 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.053e-05/0.5699, allocations: 89 kB / 0.8649 GB, free: 1.141 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.57, allocations: 25.7 kB / 0.8649 GB, free: 1.109 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.57, allocations: 80.14 kB / 0.865 GB, free: 1.027 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.57, allocations: 15.72 kB / 0.865 GB, free: 1.012 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.57, allocations: 4 kB / 0.865 GB, free: 1.008 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.5701, allocations: 314.8 kB / 0.8653 GB, free: 0.6914 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.5702, allocations: 12.12 kB / 0.8653 GB, free: 0.6797 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.5702, allocations: 12 kB / 0.8653 GB, free: 0.668 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.5702, allocations: 12 kB / 0.8653 GB, free: 0.6562 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5702, allocations: 0 / 0.8653 GB, free: 0.6562 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001125/0.5703, allocations: 69.52 kB / 0.8654 GB, free: 0.582 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5704, allocations: 4 kB / 0.8654 GB, free: 0.5781 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5704, allocations: 3.938 kB / 0.8654 GB, free: 0.5742 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5704, allocations: 4 kB / 0.8654 GB, free: 0.5703 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.5705, allocations: 8 kB / 0.8654 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.5705, allocations: 4 kB / 0.8654 GB, free: 0.5586 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.5705, allocations: 4 kB / 0.8654 GB, free: 0.5547 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.5705, allocations: 0 / 0.8654 GB, free: 0.5547 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 5.781e-05/0.5706, allocations: 108.9 kB / 0.8655 GB, free: 452 kB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.5706, allocations: 11.89 kB / 0.8655 GB, free: 440 kB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.5708, allocations: 77.81 kB / 0.8656 GB, free: 356 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5708, allocations: 4 kB / 0.8656 GB, free: 352 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5708, allocations: 0 / 0.8656 GB, free: 352 kB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5708, allocations: 4 kB / 0.8656 GB, free: 348 kB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.571, allocations: 142.1 kB / 0.8657 GB, free: 168 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.571, allocations: 4 kB / 0.8657 GB, free: 164 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.5711, allocations: 11.98 kB / 0.8658 GB, free: 152 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5711, allocations: 0 / 0.8658 GB, free: 152 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.5711, allocations: 4 kB / 0.8658 GB, free: 148 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5711, allocations: 0 / 0.8658 GB, free: 148 kB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5711, allocations: 0 / 0.8658 GB, free: 148 kB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001749/0.5713, allocations: 116.9 kB / 0.8659 GB, free: 12 kB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1914/0.7627, allocations: 0.4938 MB / 0.8663 GB, free: 168.9 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.7628, allocations: 80.55 kB / 0.8664 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.7628, allocations: 0 / 0.8664 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.7629, allocations: 3.625 kB / 0.8664 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.7629, allocations: 7.641 kB / 0.8664 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.7629, allocations: 7.812 kB / 0.8664 GB, free: 168.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.835e-05/0.7629, allocations: 78.97 kB / 0.8665 GB, free: 168.7 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008603/0.7638, allocations: 41 kB / 0.8666 GB, free: 168.7 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.0001899/0.764, allocations: 140.4 kB / 0.8667 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 9.332e-05/0.7641, allocations: 38.56 kB / 0.8667 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7641, allocations: 0 / 0.8667 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.7642, allocations: 21.62 kB / 0.8668 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.7643, allocations: 4.406 kB / 0.8668 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.7645, allocations: 84.67 kB / 0.8668 GB, free: 168.5 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.7647, allocations: 0.7043 MB / 0.8675 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of SimCode: time 3.8e-07/0.7647, allocations: 0 / 0.8675 GB, free: 167.8 MB / 0.5419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)