Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 186.3 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5074/0.5074, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.498/1.498, allocations: 221.4 MB / 342.8 MB, free: 5.133 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.001343/0.001343, allocations: 94.98 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1851/0.1865, allocations: 78.47 MB / 494 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.5785, allocations: 72.3 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.6993, allocations: 100.3 MB / 0.6509 GB, free: 9.73 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.6996, allocations: 80.02 kB / 0.651 GB, free: 9.656 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00616/0.7058, allocations: 2.032 MB / 0.653 GB, free: 7.598 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7059, allocations: 8 kB / 0.653 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.7059, allocations: 4.812 kB / 0.653 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.706, allocations: 164.2 kB / 0.6531 GB, free: 7.387 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.706, allocations: 0 / 0.6531 GB, free: 7.387 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.7061, allocations: 7.906 kB / 0.6531 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.056e-05/0.7062, allocations: 11.98 kB / 0.6531 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.7062, allocations: 38.28 kB / 0.6532 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7063, allocations: 0.5938 kB / 0.6532 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.7063, allocations: 1.062 kB / 0.6532 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7063, allocations: 4 kB / 0.6532 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.7065, allocations: 139 kB / 0.6533 GB, free: 7.148 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.292e-05/0.7065, allocations: 35.55 kB / 0.6534 GB, free: 7.109 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.7066, allocations: 22.58 kB / 0.6534 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.7067, allocations: 81.09 kB / 0.6535 GB, free: 6.988 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.7067, allocations: 35.41 kB / 0.6535 GB, free: 6.945 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.7067, allocations: 0 / 0.6535 GB, free: 6.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.001167/0.7079, allocations: 439.7 kB / 0.6539 GB, free: 6.457 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.708, allocations: 52.22 kB / 0.654 GB, free: 6.395 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.708, allocations: 85.94 kB / 0.654 GB, free: 6.305 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.7081, allocations: 25.7 kB / 0.6541 GB, free: 6.273 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.7081, allocations: 81.52 kB / 0.6541 GB, free: 6.191 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.7082, allocations: 27.64 kB / 0.6542 GB, free: 6.164 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.7082, allocations: 0 / 0.6542 GB, free: 6.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7083, allocations: 323.3 kB / 0.6545 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.7084, allocations: 4.625 kB / 0.6545 GB, free: 5.836 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/0.7084, allocations: 16.77 kB / 0.6545 GB, free: 5.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.7084, allocations: 12 kB / 0.6545 GB, free: 5.809 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.7085, allocations: 1.562 kB / 0.6545 GB, free: 5.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001382/0.7086, allocations: 66.53 kB / 0.6546 GB, free: 5.738 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7086, allocations: 6.031 kB / 0.6546 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.7086, allocations: 0 / 0.6546 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7087, allocations: 0.9688 kB / 0.6546 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.7088, allocations: 19.92 kB / 0.6546 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7088, allocations: 5.562 kB / 0.6546 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.7088, allocations: 4.625 kB / 0.6546 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.7088, allocations: 4.531 kB / 0.6546 GB, free: 5.703 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 (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 0.0001075/0.7089, allocations: 101.7 kB / 0.6547 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.709, allocations: 5.281 kB / 0.6547 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.7092, allocations: 76.77 kB / 0.6548 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.7092, allocations: 9.703 kB / 0.6548 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7092, allocations: 0 / 0.6548 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7092, allocations: 0.9062 kB / 0.6548 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.7093, allocations: 138.2 kB / 0.6549 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7093, allocations: 0.5938 kB / 0.6549 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.629e-05/0.7094, allocations: 16 kB / 0.6549 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.7095, allocations: 0.5312 kB / 0.6549 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.7095, allocations: 1.25 kB / 0.6549 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.7095, allocations: 9.547 kB / 0.655 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.7095, allocations: 3.906 kB / 0.655 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001982/0.7097, allocations: 102.9 kB / 0.6551 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003346/0.71, allocations: 0.4964 MB / 0.6555 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.7101, allocations: 85.02 kB / 0.6556 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.7101, allocations: 0 / 0.6556 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.7102, allocations: 0.5625 kB / 0.6556 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.7102, allocations: 10.64 kB / 0.6556 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.7102, allocations: 0 / 0.6556 GB, free: 4.562 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.127e-05/0.7103, allocations: 80.09 kB / 0.6557 GB, free: 4.484 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009331/0.7112, allocations: 44.42 kB / 0.6558 GB, free: 4.441 MB / 474.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.000244/0.7115, allocations: 148.3 kB / 0.6559 GB, free: 4.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.7116, allocations: 32.5 kB / 0.6559 GB, free: 4.258 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7116, allocations: 1.312 kB / 0.6559 GB, free: 4.258 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.299e-05/0.7116, allocations: 20 kB / 0.6559 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.7117, allocations: 3.938 kB / 0.656 GB, free: 4.234 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.712, allocations: 89.86 kB / 0.656 GB, free: 4.125 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.7123, allocations: 0.6958 MB / 0.6567 GB, free: 3.402 MB / 474.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7123, allocations: 4.531 kB / 0.6567 GB, free: 3.398 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)