Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7012/0.7012, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 189.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 84.17 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3466/0.3478, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.5288, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5392/1.068, allocations: 101.8 MB / 0.7205 GB, free: 10.53 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/1.068, allocations: 71.95 kB / 0.7205 GB, free: 10.46 MB / 490.7 MB 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.004807/1.073, allocations: 1.424 MB / 0.7219 GB, free: 8.996 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.073, allocations: 8 kB / 0.7219 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/1.073, allocations: 1.188 kB / 0.7219 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/1.074, allocations: 178.9 kB / 0.7221 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/1.074, allocations: 0 / 0.7221 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/1.074, allocations: 7.938 kB / 0.7221 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/1.074, allocations: 12 kB / 0.7221 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.195e-05/1.074, allocations: 37.69 kB / 0.7221 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.074, allocations: 0 / 0.7221 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.074, allocations: 0 / 0.7221 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/1.074, allocations: 0 / 0.7221 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/1.074, allocations: 249.4 kB / 0.7224 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/1.074, allocations: 26.52 kB / 0.7224 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/1.074, allocations: 9.672 kB / 0.7224 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.075, allocations: 85.09 kB / 0.7225 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/1.075, allocations: 34.56 kB / 0.7225 GB, free: 8.238 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/1.075, allocations: 0 / 0.7225 GB, free: 8.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002334/1.075, allocations: 41.61 kB / 0.7226 GB, free: 8.191 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.075, allocations: 51.41 kB / 0.7226 GB, free: 8.129 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/1.075, allocations: 102.5 kB / 0.7227 GB, free: 8.023 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.075, allocations: 25.7 kB / 0.7227 GB, free: 7.992 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/1.075, allocations: 80.14 kB / 0.7228 GB, free: 7.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/1.075, allocations: 7.906 kB / 0.7228 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.075, allocations: 4.781 kB / 0.7228 GB, free: 7.898 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/1.075, allocations: 313.4 kB / 0.7231 GB, free: 7.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/1.075, allocations: 4 kB / 0.7231 GB, free: 7.582 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/1.075, allocations: 8 kB / 0.7231 GB, free: 7.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/1.075, allocations: 11.92 kB / 0.7232 GB, free: 7.562 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.075, allocations: 0 / 0.7232 GB, free: 7.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.071e-05/1.075, allocations: 41.61 kB / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.075, allocations: 8 kB / 0.7232 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.075, allocations: 3.938 kB / 0.7232 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.075, allocations: 4.094 kB / 0.7232 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/1.076, allocations: 11.98 kB / 0.7232 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.076, allocations: 3.938 kB / 0.7232 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/1.076, allocations: 11.98 kB / 0.7232 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/1.076, allocations: 0 / 0.7232 GB, free: 7.473 MB / 490.7 MB 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 6.88e-05/1.076, allocations: 109 kB / 0.7233 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/1.076, allocations: 3.906 kB / 0.7233 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/1.076, allocations: 52.94 kB / 0.7234 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/1.076, allocations: 4 kB / 0.7234 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.076, allocations: 0 / 0.7234 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.076, allocations: 0 / 0.7234 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/1.076, allocations: 134.4 kB / 0.7235 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.076, allocations: 0 / 0.7235 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/1.076, allocations: 24.02 kB / 0.7235 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.076, allocations: 0 / 0.7235 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/1.076, allocations: 0 / 0.7235 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.076, allocations: 4 kB / 0.7236 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.076, allocations: 0 / 0.7236 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001425/1.076, allocations: 143.5 kB / 0.7237 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002474/1.077, allocations: 0.5115 MB / 0.7242 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/1.077, allocations: 77.11 kB / 0.7243 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/1.077, allocations: 0 / 0.7243 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/1.077, allocations: 16.05 kB / 0.7243 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/1.077, allocations: 0 / 0.7243 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-06/1.077, allocations: 0 / 0.7243 GB, free: 6.305 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.451e-05/1.077, allocations: 79.28 kB / 0.7244 GB, free: 6.227 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007884/1.078, allocations: 31.83 kB / 0.7244 GB, free: 6.195 MB / 490.7 MB 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.0002291/1.078, allocations: 107.2 kB / 0.7245 GB, free: 6.078 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.317e-05/1.078, allocations: 12 kB / 0.7245 GB, free: 6.066 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.078, allocations: 0 / 0.7245 GB, free: 6.066 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/1.078, allocations: 12 kB / 0.7245 GB, free: 6.055 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/1.078, allocations: 4 kB / 0.7245 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/1.079, allocations: 56.92 kB / 0.7246 GB, free: 5.973 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/1.079, allocations: 0.6919 MB / 0.7252 GB, free: 5.254 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/1.079, allocations: 0 / 0.7252 GB, free: 5.254 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)