Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.001334/0.001334, allocations: 190.7 kB / 7.802 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5106/0.5106, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.43/1.43, allocations: 221.4 MB / 342.7 MB, free: 5.113 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.0009881/0.0009881, allocations: 97.78 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.195/0.1961, allocations: 78.45 MB / 494 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.5854, allocations: 72.3 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.7029, allocations: 101.5 MB / 0.6521 GB, free: 8.617 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.7033, allocations: 72.86 kB / 0.6521 GB, free: 8.547 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.004698/0.708, allocations: 1.461 MB / 0.6536 GB, free: 7.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.708, allocations: 12.5 kB / 0.6536 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.7081, allocations: 0.5312 kB / 0.6536 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.7082, allocations: 167.6 kB / 0.6537 GB, free: 6.855 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.7082, allocations: 0.8125 kB / 0.6537 GB, free: 6.855 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.7083, allocations: 0 / 0.6537 GB, free: 6.855 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.273e-05/0.7083, allocations: 13.97 kB / 0.6537 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.426e-05/0.7084, allocations: 33.69 kB / 0.6538 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7084, allocations: 6.5 kB / 0.6538 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.7084, allocations: 0 / 0.6538 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.7084, allocations: 3.906 kB / 0.6538 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.7087, allocations: 243.2 kB / 0.654 GB, free: 6.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.7088, allocations: 19.58 kB / 0.654 GB, free: 6.496 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.7088, allocations: 12.92 kB / 0.654 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007142/0.7096, allocations: 476 kB / 0.6545 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.7096, allocations: 45.89 kB / 0.6545 GB, free: 5.879 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.7096, allocations: 1.125 kB / 0.6545 GB, free: 5.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003893/0.71, allocations: 83.81 kB / 0.6546 GB, free: 5.793 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.71, allocations: 52.09 kB / 0.6547 GB, free: 5.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.7101, allocations: 103.6 kB / 0.6548 GB, free: 5.625 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.7101, allocations: 26.23 kB / 0.6548 GB, free: 5.594 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.7102, allocations: 88.77 kB / 0.6549 GB, free: 5.504 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.7102, allocations: 5.031 kB / 0.6549 GB, free: 5.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.7102, allocations: 0 / 0.6549 GB, free: 5.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7103, allocations: 310.8 kB / 0.6552 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.7104, allocations: 8.5 kB / 0.6552 GB, free: 5.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.7104, allocations: 8.578 kB / 0.6552 GB, free: 5.172 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.7106, allocations: 46.83 kB / 0.6552 GB, free: 5.129 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7106, allocations: 0.7812 kB / 0.6552 GB, free: 5.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000282/0.7109, allocations: 88.45 kB / 0.6553 GB, free: 5.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7109, allocations: 8 kB / 0.6553 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7109, allocations: 4.125 kB / 0.6553 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.7109, allocations: 0 / 0.6553 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.711, allocations: 4 kB / 0.6553 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.711, allocations: 3.938 kB / 0.6554 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.7111, allocations: 4 kB / 0.6554 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.7111, allocations: 3.906 kB / 0.6554 GB, free: 5.012 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 7.285e-05/0.7112, allocations: 109 kB / 0.6555 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.7112, allocations: 0 / 0.6555 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.7115, allocations: 97.17 kB / 0.6556 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7116, allocations: 0 / 0.6556 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7116, allocations: 3.281 kB / 0.6556 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7116, allocations: 4.031 kB / 0.6556 GB, free: 4.789 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.7117, allocations: 151.8 kB / 0.6557 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7117, allocations: 3.938 kB / 0.6557 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.7118, allocations: 4 kB / 0.6557 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7118, allocations: 0 / 0.6557 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.7118, allocations: 0 / 0.6557 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7118, allocations: 0 / 0.6557 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.7118, allocations: 7.906 kB / 0.6557 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003019/0.7121, allocations: 179.4 kB / 0.6559 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003947/0.7125, allocations: 0.5506 MB / 0.6564 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.7126, allocations: 85.02 kB / 0.6565 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.7126, allocations: 0 / 0.6565 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.7127, allocations: 13.52 kB / 0.6565 GB, free: 3.715 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.7127, allocations: 0 / 0.6565 GB, free: 3.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.7127, allocations: 0 / 0.6565 GB, free: 3.715 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.585e-05/0.7128, allocations: 83.28 kB / 0.6566 GB, free: 3.633 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007998/0.7136, allocations: 27.92 kB / 0.6566 GB, free: 3.605 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.0001773/0.7138, allocations: 115.1 kB / 0.6567 GB, free: 3.484 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.56e-05/0.7139, allocations: 15.98 kB / 0.6568 GB, free: 3.469 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7139, allocations: 4.062 kB / 0.6568 GB, free: 3.465 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.7139, allocations: 8 kB / 0.6568 GB, free: 3.457 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.714, allocations: 9.938 kB / 0.6568 GB, free: 3.449 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.7143, allocations: 63.78 kB / 0.6568 GB, free: 3.363 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.7146, allocations: 0.6918 MB / 0.6575 GB, free: 2.645 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7146, allocations: 0 / 0.6575 GB, free: 2.645 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)