Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.002559/0.002559, allocations: 187.8 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6119/0.6119, allocations: 90.84 MB / 99.06 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.4 MB / 342.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 105.1 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1904/0.1914, allocations: 78.44 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.5899, allocations: 72.3 MB / 0.553 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.7174, allocations: 100.8 MB / 0.6514 GB, free: 9.211 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.7177, allocations: 67.95 kB / 0.6515 GB, free: 9.145 MB / 474.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.004425/0.7221, allocations: 1.393 MB / 0.6528 GB, free: 7.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.7222, allocations: 12.94 kB / 0.6529 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.7222, allocations: 3.984 kB / 0.6529 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.7224, allocations: 170.9 kB / 0.653 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.7224, allocations: 0.6562 kB / 0.653 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7224, allocations: 0.6875 kB / 0.653 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.368e-05/0.7225, allocations: 15.94 kB / 0.653 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.34e-05/0.7226, allocations: 38.62 kB / 0.6531 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.7226, allocations: 0 / 0.6531 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.7226, allocations: 4.641 kB / 0.6531 GB, free: 7.449 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7227, allocations: 0 / 0.6531 GB, free: 7.449 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.7231, allocations: 250.5 kB / 0.6533 GB, free: 7.172 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.273e-05/0.7232, allocations: 27.27 kB / 0.6533 GB, free: 7.137 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.7232, allocations: 9.453 kB / 0.6534 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.7233, allocations: 85.89 kB / 0.6534 GB, free: 7.023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.7233, allocations: 35.84 kB / 0.6535 GB, free: 6.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7233, allocations: 0 / 0.6535 GB, free: 6.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001843/0.7235, allocations: 41.61 kB / 0.6535 GB, free: 6.934 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.7236, allocations: 56.09 kB / 0.6536 GB, free: 6.867 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.7237, allocations: 94.98 kB / 0.6537 GB, free: 6.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.7237, allocations: 25.7 kB / 0.6537 GB, free: 6.738 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.7238, allocations: 89.05 kB / 0.6538 GB, free: 6.648 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.7238, allocations: 3.906 kB / 0.6538 GB, free: 6.645 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.7238, allocations: 1.062 kB / 0.6538 GB, free: 6.645 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7239, allocations: 310.8 kB / 0.6541 GB, free: 6.332 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.7239, allocations: 9.875 kB / 0.6541 GB, free: 6.324 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.724, allocations: 6.625 kB / 0.6541 GB, free: 6.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.724, allocations: 7.984 kB / 0.6541 GB, free: 6.312 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.724, allocations: 0 / 0.6541 GB, free: 6.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.876e-05/0.7241, allocations: 38.45 kB / 0.6541 GB, free: 6.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.7241, allocations: 8.719 kB / 0.6541 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7241, allocations: 0 / 0.6541 GB, free: 6.262 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.7241, allocations: 4.969 kB / 0.6541 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.7243, allocations: 12.73 kB / 0.6541 GB, free: 6.246 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.7243, allocations: 0.7812 kB / 0.6541 GB, free: 6.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.7243, allocations: 15.42 kB / 0.6542 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.7244, allocations: 7.938 kB / 0.6542 GB, free: 6.227 MB / 474.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 5.742e-05/0.7244, allocations: 102.1 kB / 0.6543 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.7245, allocations: 7.906 kB / 0.6543 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.7246, allocations: 46.47 kB / 0.6543 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7246, allocations: 0 / 0.6543 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7246, allocations: 4.75 kB / 0.6543 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7246, allocations: 4 kB / 0.6543 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.7247, allocations: 134.2 kB / 0.6545 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7247, allocations: 0.5938 kB / 0.6545 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.7248, allocations: 13.33 kB / 0.6545 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7248, allocations: 0.5312 kB / 0.6545 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.7249, allocations: 4.438 kB / 0.6545 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7249, allocations: 0 / 0.6545 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7249, allocations: 0.5 kB / 0.6545 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000119/0.725, allocations: 141.1 kB / 0.6546 GB, free: 5.719 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002133/0.7252, allocations: 0.5123 MB / 0.6551 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.7253, allocations: 87.08 kB / 0.6552 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.7253, allocations: 0 / 0.6552 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.7254, allocations: 12.55 kB / 0.6552 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.7254, allocations: 0 / 0.6552 GB, free: 5.074 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.7255, allocations: 0 / 0.6552 GB, free: 5.074 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.92e-05/0.7255, allocations: 87.31 kB / 0.6553 GB, free: 4.988 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008072/0.7263, allocations: 19.92 kB / 0.6553 GB, free: 4.969 MB / 474.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.0001818/0.7265, allocations: 103.2 kB / 0.6554 GB, free: 4.859 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.7266, allocations: 18.94 kB / 0.6554 GB, free: 4.844 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7266, allocations: 0 / 0.6554 GB, free: 4.844 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.7266, allocations: 8 kB / 0.6554 GB, free: 4.836 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.7268, allocations: 9.938 kB / 0.6554 GB, free: 4.828 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.7271, allocations: 71.89 kB / 0.6555 GB, free: 4.734 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.7273, allocations: 0.6841 MB / 0.6562 GB, free: 4.023 MB / 474.7 MB Notification: Performance of SimCode: time 3.5e-07/0.7273, allocations: 0 / 0.6562 GB, free: 4.023 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)