Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001209/0.001209, allocations: 187 kB / 7.802 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.4758/0.4758, allocations: 90.85 MB / 99.07 MB, free: 14.97 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.322/1.322, 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.0009907/0.0009907, allocations: 103.1 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.175/0.1761, allocations: 78.46 MB / 494 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.6194, allocations: 72.3 MB / 0.553 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.7444, allocations: 100.6 MB / 0.6512 GB, free: 9.379 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.7448, allocations: 79.94 kB / 0.6513 GB, free: 9.301 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.002676/0.7475, allocations: 0.8669 MB / 0.6522 GB, free: 8.402 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.7475, allocations: 8 kB / 0.6522 GB, free: 8.395 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.7476, allocations: 6.094 kB / 0.6522 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.7477, allocations: 163 kB / 0.6523 GB, free: 8.191 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.7477, allocations: 5.219 kB / 0.6523 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.7477, allocations: 3.938 kB / 0.6523 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.025e-05/0.7478, allocations: 7.984 kB / 0.6523 GB, free: 8.176 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.024e-05/0.7479, allocations: 38.33 kB / 0.6524 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.7479, allocations: 4.875 kB / 0.6524 GB, free: 8.129 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7479, allocations: 0 / 0.6524 GB, free: 8.129 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7479, allocations: 0 / 0.6524 GB, free: 8.129 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.7481, allocations: 135 kB / 0.6525 GB, free: 7.961 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.7482, allocations: 23.12 kB / 0.6525 GB, free: 7.934 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.7482, allocations: 9.859 kB / 0.6526 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.7484, allocations: 85.23 kB / 0.6526 GB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.7484, allocations: 31.34 kB / 0.6527 GB, free: 7.781 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7484, allocations: 0.5938 kB / 0.6527 GB, free: 7.781 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.002813/0.7513, allocations: 367.3 kB / 0.653 GB, free: 7.438 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.7513, allocations: 55.34 kB / 0.6531 GB, free: 7.375 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.7514, allocations: 85.75 kB / 0.6531 GB, free: 7.285 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.7514, allocations: 25.7 kB / 0.6532 GB, free: 7.254 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.7514, allocations: 80.86 kB / 0.6532 GB, free: 7.172 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.7515, allocations: 19.8 kB / 0.6533 GB, free: 7.152 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.7515, allocations: 0.625 kB / 0.6533 GB, free: 7.152 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7516, allocations: 315.7 kB / 0.6536 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.7517, allocations: 4 kB / 0.6536 GB, free: 6.832 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.7517, allocations: 38.05 kB / 0.6536 GB, free: 6.789 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.7519, allocations: 17.61 kB / 0.6536 GB, free: 6.773 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.7519, allocations: 0 / 0.6536 GB, free: 6.773 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002288/0.7521, allocations: 66.38 kB / 0.6537 GB, free: 6.703 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7521, allocations: 8.656 kB / 0.6537 GB, free: 6.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.7521, allocations: 0.625 kB / 0.6537 GB, free: 6.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7522, allocations: 3.938 kB / 0.6537 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.7526, allocations: 51.34 kB / 0.6538 GB, free: 6.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7526, allocations: 2.641 kB / 0.6538 GB, free: 6.645 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.7531, allocations: 39.77 kB / 0.6538 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.7531, allocations: 4.859 kB / 0.6538 GB, free: 6.605 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.858e-05/0.7532, allocations: 116.8 kB / 0.6539 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.7532, allocations: 4.094 kB / 0.6539 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.7537, allocations: 101.1 kB / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.7537, allocations: 0 / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7537, allocations: 3.938 kB / 0.654 GB, free: 6.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7537, allocations: 1.812 kB / 0.654 GB, free: 6.371 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.7542, allocations: 287.1 kB / 0.6543 GB, free: 6.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7542, allocations: 3.984 kB / 0.6543 GB, free: 6.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.7547, allocations: 43.98 kB / 0.6543 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7547, allocations: 0 / 0.6543 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.7547, allocations: 11.89 kB / 0.6543 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7547, allocations: 0 / 0.6543 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7547, allocations: 3.938 kB / 0.6543 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002742/0.755, allocations: 157 kB / 0.6545 GB, free: 5.816 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004259/0.7554, allocations: 0.5272 MB / 0.655 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.7555, allocations: 81.11 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.7555, allocations: 2.812 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.7559, allocations: 43.88 kB / 0.6551 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.756, allocations: 4 kB / 0.6551 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.756, allocations: 2.062 kB / 0.6551 GB, free: 5.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.423e-05/0.756, allocations: 75.28 kB / 0.6552 GB, free: 5.051 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008715/0.7569, allocations: 19.98 kB / 0.6552 GB, free: 5.031 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 (5): * Single equations (assignments): 5 * 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.000185/0.7571, allocations: 108.8 kB / 0.6553 GB, free: 4.918 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.7573, allocations: 24 kB / 0.6554 GB, free: 4.895 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7573, allocations: 0 / 0.6554 GB, free: 4.895 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.7573, allocations: 19.92 kB / 0.6554 GB, free: 4.875 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.7575, allocations: 0 / 0.6554 GB, free: 4.875 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.7582, allocations: 100.1 kB / 0.6555 GB, free: 4.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/0.7586, allocations: 0.6919 MB / 0.6561 GB, free: 4.035 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7586, allocations: 0 / 0.6561 GB, free: 4.035 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)