Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7612/0.7612, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001209/0.001209, allocations: 181.2 kB / 164.4 MB, free: 6.895 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.536/1.536, allocations: 205.1 MB / 399.1 MB, free: 6.125 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.0009435/0.0009436, allocations: 84.58 kB / 476.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3001/0.3011, allocations: 82.9 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.467, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.9142, allocations: 101.4 MB / 0.72 GB, free: 10.99 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.9145, allocations: 75.95 kB / 0.7201 GB, free: 10.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00622/0.9207, allocations: 2.151 MB / 0.7222 GB, free: 8.734 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.9208, allocations: 12 kB / 0.7222 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.9209, allocations: 3.984 kB / 0.7222 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.921, allocations: 163 kB / 0.7223 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.921, allocations: 0 / 0.7223 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.9211, allocations: 4 kB / 0.7223 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.786e-05/0.9211, allocations: 19.98 kB / 0.7224 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.9212, allocations: 37.69 kB / 0.7224 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9212, allocations: 0 / 0.7224 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.9213, allocations: 3.938 kB / 0.7224 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9213, allocations: 0 / 0.7224 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.9214, allocations: 134.2 kB / 0.7225 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.9215, allocations: 29.77 kB / 0.7226 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.9215, allocations: 20.98 kB / 0.7226 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.9217, allocations: 89.09 kB / 0.7227 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.9217, allocations: 30.56 kB / 0.7227 GB, free: 8.078 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.9217, allocations: 0 / 0.7227 GB, free: 8.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001058/0.9228, allocations: 434.1 kB / 0.7231 GB, free: 7.586 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.9228, allocations: 59.41 kB / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.473e-05/0.9229, allocations: 92.94 kB / 0.7232 GB, free: 7.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.9229, allocations: 25.7 kB / 0.7233 GB, free: 7.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.9229, allocations: 80.14 kB / 0.7233 GB, free: 7.305 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.9229, allocations: 27.55 kB / 0.7234 GB, free: 7.277 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.923, allocations: 0 / 0.7234 GB, free: 7.277 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.923, allocations: 314.8 kB / 0.7237 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.9231, allocations: 12 kB / 0.7237 GB, free: 6.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.9231, allocations: 12.19 kB / 0.7237 GB, free: 6.938 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.9232, allocations: 15.98 kB / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.9232, allocations: 0 / 0.7237 GB, free: 6.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00011/0.9233, allocations: 73.52 kB / 0.7238 GB, free: 6.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9233, allocations: 8 kB / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9233, allocations: 0 / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.9233, allocations: 256 / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.9234, allocations: 15.98 kB / 0.7238 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.9234, allocations: 4 kB / 0.7238 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.9235, allocations: 0 / 0.7238 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.9235, allocations: 4 kB / 0.7238 GB, free: 6.812 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 (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.678e-05/0.9236, allocations: 105 kB / 0.7239 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.9236, allocations: 3.906 kB / 0.7239 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.9238, allocations: 81.52 kB / 0.724 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.9238, allocations: 0 / 0.724 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9238, allocations: 0 / 0.724 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9238, allocations: 3.984 kB / 0.724 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.9239, allocations: 138.2 kB / 0.7241 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9239, allocations: 7.906 kB / 0.7241 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.924, allocations: 12 kB / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.924, allocations: 0 / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.924, allocations: 0 / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.924, allocations: 0 / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.924, allocations: 0 / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001809/0.9242, allocations: 116.9 kB / 0.7243 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002689/0.9245, allocations: 0.5018 MB / 0.7248 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.9245, allocations: 77.11 kB / 0.7248 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.9245, allocations: 4 kB / 0.7248 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.9246, allocations: 0 / 0.7248 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.9246, allocations: 19.81 kB / 0.7248 GB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.9246, allocations: 0 / 0.7248 GB, free: 5.648 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.236e-05/0.9247, allocations: 79.34 kB / 0.7249 GB, free: 5.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008338/0.9255, allocations: 44.03 kB / 0.725 GB, free: 5.527 MB / 490.7 MB 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.0002517/0.9258, allocations: 147.3 kB / 0.7251 GB, free: 5.371 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.9259, allocations: 35.98 kB / 0.7251 GB, free: 5.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9259, allocations: 0 / 0.7251 GB, free: 5.336 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.926, allocations: 23.94 kB / 0.7252 GB, free: 5.312 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.9261, allocations: 3.188 kB / 0.7252 GB, free: 5.312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.9263, allocations: 84.27 kB / 0.7252 GB, free: 5.207 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.9267, allocations: 0.7036 MB / 0.7259 GB, free: 4.477 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9267, allocations: 0 / 0.7259 GB, free: 4.477 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)