Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",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.0.0/package.mo): time 2.458/2.458, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001816/0.001816, allocations: 187.3 kB / 360.3 MB, free: 7.5 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.874/1.874, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001287/0.001286, allocations: 83.14 kB / 0.7317 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2822/0.2836, allocations: 121.4 MB / 0.8502 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6733/0.957, allocations: 115.2 MB / 0.9627 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/1.181, allocations: 137.1 MB / 1.097 GB, free: 3.742 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.182, allocations: 74.06 kB / 1.097 GB, free: 3.672 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.006711/1.188, allocations: 1.379 MB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.188, allocations: 8.5 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/1.189, allocations: 4.422 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.189, allocations: 173.6 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/1.189, allocations: 0 / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/1.189, allocations: 0 / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.305e-05/1.189, allocations: 15.81 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/1.189, allocations: 42.25 kB / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.189, allocations: 0 / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/1.189, allocations: 0 / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.189, allocations: 0 / 1.098 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/1.19, allocations: 248.6 kB / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/1.19, allocations: 26.48 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/1.19, allocations: 9.422 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/1.19, allocations: 85.66 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.19, allocations: 31.34 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/1.19, allocations: 3.156 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002429/1.19, allocations: 42.3 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.19, allocations: 56.34 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/1.19, allocations: 94.62 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.19, allocations: 26.3 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/1.19, allocations: 84.81 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/1.19, allocations: 7.906 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/1.19, allocations: 0.6875 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.191, allocations: 315.6 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/1.191, allocations: 3.812 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/1.191, allocations: 8 kB / 1.099 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/1.191, allocations: 8.656 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.191, allocations: 3.938 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001348/1.191, allocations: 47.16 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.191, allocations: 7.938 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/1.191, allocations: 0 / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.191, allocations: 0.6562 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.191, allocations: 13.33 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.191, allocations: 8 kB / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-05/1.191, allocations: 4 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/1.191, allocations: 4 kB / 1.099 GB, free: 0.7969 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 8.691e-05/1.191, allocations: 112.7 kB / 1.099 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/1.191, allocations: 0 / 1.099 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/1.192, allocations: 57 kB / 1.099 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/1.192, allocations: 0 / 1.099 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.192, allocations: 4.609 kB / 1.099 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.192, allocations: 0 / 1.099 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/1.192, allocations: 131.6 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.192, allocations: 0.75 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.192, allocations: 11.98 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.192, allocations: 7.938 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/1.192, allocations: 4.031 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.192, allocations: 0 / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.192, allocations: 0 / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001807/1.192, allocations: 143.5 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000328/1.193, allocations: 0.5116 MB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/1.193, allocations: 80.98 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.193, allocations: 0 / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.193, allocations: 11.98 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/1.193, allocations: 3.906 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/1.193, allocations: 3.938 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.204e-05/1.193, allocations: 79.28 kB / 1.1 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00113/1.194, allocations: 23.94 kB / 1.1 GB, free: 15.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002392/1.194, allocations: 115.2 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001682/1.195, allocations: 12 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.195, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/1.195, allocations: 4 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/1.195, allocations: 6.297 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/1.195, allocations: 72.72 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/1.196, allocations: 0.6919 MB / 1.101 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/1.196, allocations: 0 / 1.101 GB, free: 14.57 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)