Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.909/1.909, allocations: 387.2 MB / 394.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001135, allocations: 183.8 kB / 487 MB, free: 5.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008889, allocations: 98.98 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5179/0.5188, allocations: 148.5 MB / 1.066 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.7597, allocations: 142.3 MB / 1.205 GB, free: 15 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.9316, allocations: 148 MB / 1.35 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.9319, allocations: 75.95 kB / 1.35 GB, free: 10.74 MB / 0.9948 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.006105/0.9381, allocations: 2.033 MB / 1.352 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.9381, allocations: 8 kB / 1.352 GB, free: 8.66 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.9382, allocations: 11.89 kB / 1.352 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.9383, allocations: 163 kB / 1.352 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.9383, allocations: 4 kB / 1.352 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.9384, allocations: 4 kB / 1.352 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.642e-05/0.9384, allocations: 12 kB / 1.352 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.9385, allocations: 45.58 kB / 1.352 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.9385, allocations: 0 / 1.352 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.9386, allocations: 0 / 1.352 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.9386, allocations: 4 kB / 1.352 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.9387, allocations: 130.2 kB / 1.352 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.9388, allocations: 41.7 kB / 1.352 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.9389, allocations: 16.98 kB / 1.352 GB, free: 8.145 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.939, allocations: 81.11 kB / 1.352 GB, free: 8.047 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.939, allocations: 30.56 kB / 1.352 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.939, allocations: 0 / 1.352 GB, free: 8.008 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.001148/0.9402, allocations: 455.1 kB / 1.353 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.9402, allocations: 51.41 kB / 1.353 GB, free: 7.43 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.9403, allocations: 89 kB / 1.353 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.9403, allocations: 25.7 kB / 1.353 GB, free: 7.305 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.9404, allocations: 84.14 kB / 1.353 GB, free: 7.219 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.9404, allocations: 15.72 kB / 1.353 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.9404, allocations: 0 / 1.353 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9406, allocations: 318.8 kB / 1.353 GB, free: 6.883 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.9407, allocations: 12.12 kB / 1.353 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.9407, allocations: 15.94 kB / 1.353 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.9408, allocations: 11.98 kB / 1.353 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.9408, allocations: 0 / 1.353 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001747/0.941, allocations: 69.58 kB / 1.354 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.941, allocations: 4 kB / 1.354 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.941, allocations: 0 / 1.354 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.941, allocations: 0 / 1.354 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.9411, allocations: 15.94 kB / 1.354 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.9411, allocations: 3.938 kB / 1.354 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.9412, allocations: 8 kB / 1.354 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.9412, allocations: 3.984 kB / 1.354 GB, free: 6.734 MB / 0.9948 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 6.619e-05/0.9413, allocations: 104.9 kB / 1.354 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.9413, allocations: 4 kB / 1.354 GB, free: 6.621 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.9415, allocations: 73.58 kB / 1.354 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9415, allocations: 0 / 1.354 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.9415, allocations: 11.84 kB / 1.354 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9415, allocations: 4 kB / 1.354 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.9416, allocations: 134.2 kB / 1.354 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9416, allocations: 0 / 1.354 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.175e-05/0.9417, allocations: 15.98 kB / 1.354 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.9417, allocations: 0 / 1.354 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.9418, allocations: 4 kB / 1.354 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.9418, allocations: 0 / 1.354 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9418, allocations: 0 / 1.354 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001875/0.942, allocations: 117.5 kB / 1.354 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002814/0.9423, allocations: 0.4935 MB / 1.354 GB, free: 5.688 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.9423, allocations: 85 kB / 1.355 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.9423, allocations: 0 / 1.355 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.9424, allocations: 0 / 1.355 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.9424, allocations: 4 kB / 1.355 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.9424, allocations: 8 kB / 1.355 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.729e-05/0.9424, allocations: 83.39 kB / 1.355 GB, free: 5.492 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000766/0.9432, allocations: 35.94 kB / 1.355 GB, free: 5.457 MB / 0.9948 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.0002497/0.9435, allocations: 151.3 kB / 1.355 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.9436, allocations: 28 kB / 1.355 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9436, allocations: 4 kB / 1.355 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.9436, allocations: 23.92 kB / 1.355 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.9437, allocations: 4.656 kB / 1.355 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.9441, allocations: 96.3 kB / 1.355 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.9444, allocations: 0.6997 MB / 1.356 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of SimCode: time 2.4e-07/0.9444, allocations: 0 / 1.356 GB, free: 4.395 MB / 0.9948 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat does not exist to compare? outputFormat=mat