Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.399/1.399, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000948/0.0009478, allocations: 185.2 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 0.6195 GB, free: 10.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 90.31 kB / 0.7325 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2326/0.2335, allocations: 121.4 MB / 0.8511 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.802, allocations: 115.3 MB / 0.9637 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.9629, allocations: 139 MB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.9631, allocations: 75.95 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01506/0.9782, allocations: 5.073 MB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9782, allocations: 8.5 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.979, allocations: 135.7 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.9791, allocations: 184.6 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/0.9792, allocations: 67.39 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.9793, allocations: 4 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001723/0.9794, allocations: 75.89 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.9796, allocations: 113.6 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.9797, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.9797, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.9797, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.9808, allocations: 467.7 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.981, allocations: 94.48 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.9811, allocations: 44.98 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.9811, allocations: 3.984 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.9811, allocations: 34.56 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.9811, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002626/0.9814, allocations: 103 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.9814, allocations: 59.34 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.9815, allocations: 123.2 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9816, allocations: 29.7 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.9816, allocations: 104.2 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.9816, allocations: 15.66 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.9817, allocations: 0 / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.9817, allocations: 322.8 kB / 1.106 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.9818, allocations: 32 kB / 1.106 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.9819, allocations: 54.56 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.994e-05/0.982, allocations: 31.98 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.982, allocations: 0 / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001955/0.9822, allocations: 113.5 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.9822, allocations: 10.5 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9822, allocations: 3.906 kB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.9822, allocations: 1.875 kB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.9825, allocations: 53.7 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.9825, allocations: 1.094 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.9828, allocations: 31.97 kB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.9828, allocations: 7.984 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB 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 (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 7.524e-05/0.9829, allocations: 116.8 kB / 1.107 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.9829, allocations: 11.91 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.9832, allocations: 114.1 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9832, allocations: 0 / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.9832, allocations: 0 / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9832, allocations: 0 / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.9834, allocations: 203.7 kB / 1.107 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.9834, allocations: 7.938 kB / 1.107 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.9837, allocations: 49.64 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9837, allocations: 4 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.9837, allocations: 3.938 kB / 1.107 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9837, allocations: 4 kB / 1.107 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9837, allocations: 0 / 1.107 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000225/0.984, allocations: 195.3 kB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003239/0.9843, allocations: 0.5755 MB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.9843, allocations: 90.92 kB / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.9844, allocations: 0 / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.9847, allocations: 51.86 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.9848, allocations: 3.984 kB / 1.108 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.9848, allocations: 4 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.039e-05/0.9849, allocations: 110.6 kB / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008019/0.9857, allocations: 24 kB / 1.108 GB, free: 7.625 MB / 0.7136 GB 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 (6): * Single equations (assignments): 6 * 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.000114/0.9858, allocations: 102.7 kB / 1.108 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.986, allocations: 75.98 kB / 1.108 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.986, allocations: 0 / 1.108 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.9861, allocations: 47.92 kB / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.9863, allocations: 3.906 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.9867, allocations: 153.6 kB / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.9871, allocations: 0.727 MB / 1.109 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9871, allocations: 0 / 1.109 GB, free: 6.473 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)