Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001615/0.001615, allocations: 181.3 kB / 366.3 MB, free: 2.004 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.554/1.554, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.0008767/0.0008767, allocations: 85.03 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2925/0.2934, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/1.035, allocations: 116.3 MB / 0.9726 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/1.229, allocations: 140 MB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.229, allocations: 67.97 kB / 1.109 GB, free: 10.39 MB / 0.7136 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.01767/1.247, allocations: 5.072 MB / 1.114 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/1.247, allocations: 15.98 kB / 1.114 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008893/1.248, allocations: 135.8 kB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/1.248, allocations: 178.8 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/1.248, allocations: 59.41 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/1.248, allocations: 8 kB / 1.115 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001866/1.248, allocations: 75.89 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/1.248, allocations: 105.6 kB / 1.115 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.248, allocations: 4 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/1.248, allocations: 3.984 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.248, allocations: 4 kB / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/1.25, allocations: 475.6 kB / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/1.25, allocations: 96 kB / 1.115 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/1.25, allocations: 36.98 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/1.25, allocations: 0 / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.25, allocations: 34.56 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/1.25, allocations: 0 / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000318/1.25, allocations: 108.3 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.25, allocations: 55.41 kB / 1.116 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/1.251, allocations: 127.2 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/1.251, allocations: 25.7 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/1.251, allocations: 100.2 kB / 1.116 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/1.251, allocations: 23.64 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.251, allocations: 0 / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.251, allocations: 314.8 kB / 1.116 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/1.251, allocations: 43.92 kB / 1.116 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/1.251, allocations: 46.58 kB / 1.116 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.914e-05/1.251, allocations: 31.98 kB / 1.116 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.251, allocations: 0 / 1.116 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002081/1.251, allocations: 117.5 kB / 1.117 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.251, allocations: 4 kB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.251, allocations: 7.75 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.252, allocations: 8.062 kB / 1.117 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/1.252, allocations: 47.94 kB / 1.117 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.252, allocations: 4 kB / 1.117 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/1.252, allocations: 31.97 kB / 1.117 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/1.252, allocations: 8 kB / 1.117 GB, free: 2.863 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 8.567e-05/1.252, allocations: 104.9 kB / 1.117 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/1.252, allocations: 11.91 kB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/1.253, allocations: 122.1 kB / 1.117 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.253, allocations: 4 kB / 1.117 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.253, allocations: 4 kB / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.253, allocations: 2.562 kB / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/1.253, allocations: 210.5 kB / 1.117 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.253, allocations: 0 / 1.117 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/1.253, allocations: 49.3 kB / 1.117 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.253, allocations: 0 / 1.117 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/1.253, allocations: 11.98 kB / 1.117 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.253, allocations: 0 / 1.117 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.253, allocations: 0 / 1.117 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002482/1.253, allocations: 203.3 kB / 1.117 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003674/1.254, allocations: 0.5663 MB / 1.118 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/1.254, allocations: 88.95 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.254, allocations: 2.062 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/1.254, allocations: 51.86 kB / 1.118 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/1.254, allocations: 11.98 kB / 1.118 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/1.254, allocations: 7.984 kB / 1.118 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.622e-05/1.254, allocations: 103 kB / 1.118 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000817/1.255, allocations: 20 kB / 1.118 GB, free: 1.207 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.0001539/1.255, allocations: 95.25 kB / 1.118 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001877/1.256, allocations: 80.95 kB / 1.118 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.256, allocations: 0 / 1.118 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/1.256, allocations: 52.05 kB / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/1.256, allocations: 3.906 kB / 1.118 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/1.256, allocations: 140.4 kB / 1.118 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/1.257, allocations: 0.7279 MB / 1.119 GB, free: 64 kB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/1.257, allocations: 0 / 1.119 GB, free: 64 kB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)