Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7903/0.7903, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001092/0.001091, allocations: 193.2 kB / 164.4 MB, free: 6.855 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.688/1.688, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.0009689/0.0009692, allocations: 94.22 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3482/0.3492, allocations: 82.88 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.5338, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5483/1.082, allocations: 102.6 MB / 0.7212 GB, free: 9.648 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/1.083, allocations: 71.95 kB / 0.7213 GB, free: 9.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00563/1.088, allocations: 1.463 MB / 0.7227 GB, free: 8.078 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.124e-05/1.088, allocations: 8 kB / 0.7227 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/1.089, allocations: 7.906 kB / 0.7227 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/1.089, allocations: 159.1 kB / 0.7229 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/1.089, allocations: 4 kB / 0.7229 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/1.089, allocations: 4 kB / 0.7229 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/1.089, allocations: 11.91 kB / 0.7229 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/1.089, allocations: 37.69 kB / 0.7229 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.089, allocations: 4 kB / 0.7229 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.089, allocations: 0 / 0.7229 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.089, allocations: 0 / 0.7229 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/1.09, allocations: 238.1 kB / 0.7231 GB, free: 7.531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.776e-05/1.09, allocations: 26.58 kB / 0.7232 GB, free: 7.496 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/1.09, allocations: 12.92 kB / 0.7232 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008986/1.091, allocations: 473.5 kB / 0.7236 GB, free: 6.926 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.091, allocations: 30.56 kB / 0.7237 GB, free: 6.887 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 4.108e-06/1.091, allocations: 0 / 0.7237 GB, free: 6.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004829/1.091, allocations: 90.3 kB / 0.7237 GB, free: 6.793 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/1.091, allocations: 55.34 kB / 0.7238 GB, free: 6.727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/1.091, allocations: 105 kB / 0.7239 GB, free: 6.617 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/1.091, allocations: 25.7 kB / 0.7239 GB, free: 6.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/1.092, allocations: 84.05 kB / 0.724 GB, free: 6.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/1.092, allocations: 11.94 kB / 0.724 GB, free: 6.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/1.092, allocations: 2.078 kB / 0.724 GB, free: 6.488 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/1.092, allocations: 314.8 kB / 0.7243 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/1.092, allocations: 8.031 kB / 0.7243 GB, free: 6.164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/1.092, allocations: 7.984 kB / 0.7243 GB, free: 6.156 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/1.092, allocations: 43.95 kB / 0.7244 GB, free: 6.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.092, allocations: 0 / 0.7244 GB, free: 6.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002824/1.092, allocations: 85.72 kB / 0.7245 GB, free: 6.023 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.092, allocations: 4 kB / 0.7245 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.092, allocations: 3.984 kB / 0.7245 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/1.093, allocations: 3.906 kB / 0.7245 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.093, allocations: 12.78 kB / 0.7245 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.093, allocations: 0.75 kB / 0.7245 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/1.093, allocations: 4 kB / 0.7245 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.093, allocations: 3.938 kB / 0.7245 GB, free: 5.992 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 (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 0.0001011/1.093, allocations: 105 kB / 0.7246 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/1.093, allocations: 7.906 kB / 0.7246 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/1.093, allocations: 89.27 kB / 0.7247 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.093, allocations: 4 kB / 0.7247 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.093, allocations: 2.25 kB / 0.7247 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.093, allocations: 7.875 kB / 0.7247 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.093, allocations: 134.2 kB / 0.7248 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.093, allocations: 8.016 kB / 0.7248 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/1.093, allocations: 11.91 kB / 0.7248 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.093, allocations: 0 / 0.7248 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/1.094, allocations: 0 / 0.7248 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.094, allocations: 0 / 0.7248 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.094, allocations: 0 / 0.7248 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003323/1.094, allocations: 193.9 kB / 0.725 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004332/1.094, allocations: 0.5506 MB / 0.7256 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/1.094, allocations: 81.11 kB / 0.7256 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/1.094, allocations: 0 / 0.7256 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/1.094, allocations: 3.984 kB / 0.7256 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/1.095, allocations: 8.031 kB / 0.7256 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/1.095, allocations: 4 kB / 0.7257 GB, free: 4.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.397e-05/1.095, allocations: 87.19 kB / 0.7257 GB, free: 4.613 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008352/1.095, allocations: 27.92 kB / 0.7258 GB, free: 4.586 MB / 490.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.0002736/1.096, allocations: 119.2 kB / 0.7259 GB, free: 4.457 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/1.096, allocations: 15.98 kB / 0.7259 GB, free: 4.441 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.096, allocations: 0 / 0.7259 GB, free: 4.441 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/1.096, allocations: 8.062 kB / 0.7259 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/1.096, allocations: 5.203 kB / 0.7259 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/1.096, allocations: 55.92 kB / 0.726 GB, free: 4.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/1.097, allocations: 0.6919 MB / 0.7266 GB, free: 3.633 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/1.097, allocations: 0 / 0.7266 GB, free: 3.633 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)