Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.282/1.282, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 196.4 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007993/0.0007993, allocations: 83.39 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3677/0.3686, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.5447, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/1.033, allocations: 131.5 MB / 1.013 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/1.034, allocations: 77 kB / 1.013 GB, free: 7.293 MB / 0.6355 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.005413/1.039, allocations: 2.03 MB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.039, allocations: 8 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/1.039, allocations: 0 / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.039, allocations: 167 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.039, allocations: 7.906 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/1.039, allocations: 0 / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.697e-05/1.04, allocations: 11.98 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.553e-05/1.04, allocations: 46.38 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/1.04, allocations: 0 / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.04, allocations: 0 / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/1.04, allocations: 0 / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/1.04, allocations: 141 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/1.04, allocations: 31.84 kB / 1.016 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/1.04, allocations: 19.92 kB / 1.016 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/1.04, allocations: 81.09 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/1.04, allocations: 37.88 kB / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/1.04, allocations: 0 / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001067/1.041, allocations: 443.9 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/1.041, allocations: 51.41 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/1.041, allocations: 85 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/1.041, allocations: 25.7 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/1.041, allocations: 80.14 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/1.041, allocations: 27.27 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/1.041, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.041, allocations: 314.8 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/1.041, allocations: 15.44 kB / 1.017 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/1.042, allocations: 22.56 kB / 1.017 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/1.042, allocations: 11.98 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/1.042, allocations: 0 / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001059/1.042, allocations: 60.25 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/1.042, allocations: 4 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.042, allocations: 3.938 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.042, allocations: 0 / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/1.042, allocations: 22.95 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.042, allocations: 0 / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/1.042, allocations: 4 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/1.042, allocations: 4 kB / 1.017 GB, free: 3.695 MB / 0.6355 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.801e-05/1.042, allocations: 104.9 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/1.042, allocations: 7.906 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/1.042, allocations: 75.25 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.042, allocations: 3.984 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.042, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.042, allocations: 7.984 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.039e-05/1.042, allocations: 137.2 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.042, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/1.042, allocations: 12 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.042, allocations: 0 / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/1.042, allocations: 7.219 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.042, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.042, allocations: 12.12 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001686/1.043, allocations: 110.3 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002656/1.043, allocations: 0.5005 MB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/1.043, allocations: 81.11 kB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/1.043, allocations: 0 / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/1.043, allocations: 0 / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/1.043, allocations: 7.984 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/1.043, allocations: 0 / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.734e-05/1.043, allocations: 83.34 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007565/1.044, allocations: 38.97 kB / 1.018 GB, free: 2.461 MB / 0.6355 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.0002126/1.044, allocations: 139.4 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.317e-05/1.044, allocations: 39.42 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.044, allocations: 3.938 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/1.044, allocations: 19.19 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/1.044, allocations: 0 / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/1.045, allocations: 95.78 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.045, allocations: 0.6996 MB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of SimCode: time 3.1e-07/1.045, allocations: 0 / 1.019 GB, free: 1.43 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)