Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.534/2.534, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.00162/0.00162, allocations: 187.3 kB / 360.3 MB, free: 7.512 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.925/1.925, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001203/0.001203, allocations: 92.16 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2832/0.2844, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/0.9068, allocations: 115.2 MB / 0.9627 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/1.13, allocations: 138.9 MB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.13, allocations: 77.08 kB / 1.098 GB, free: 1.902 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.02707/1.157, allocations: 5.093 MB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.157, allocations: 8.5 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.159, allocations: 127.8 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/1.159, allocations: 187.5 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/1.159, allocations: 65.66 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/1.159, allocations: 4 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003173/1.16, allocations: 79.89 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/1.16, allocations: 101.6 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/1.16, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/1.16, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/1.16, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/1.162, allocations: 480.8 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/1.162, allocations: 86.52 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/1.162, allocations: 48.91 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/1.163, allocations: 0 / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.163, allocations: 38.56 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/1.163, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004194/1.163, allocations: 101.6 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.163, allocations: 55.41 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/1.163, allocations: 116.1 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/1.163, allocations: 29.7 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/1.163, allocations: 108.2 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/1.163, allocations: 15.66 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/1.163, allocations: 0 / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.164, allocations: 322.8 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/1.164, allocations: 28 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.164, allocations: 54.56 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/1.164, allocations: 39.92 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.164, allocations: 0 / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003918/1.164, allocations: 111.2 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.164, allocations: 8 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.164, allocations: 7.844 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.165, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.166, allocations: 48.02 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.166, allocations: 4 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/1.167, allocations: 35.95 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/1.167, allocations: 4 kB / 1.106 GB, free: 10.41 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 0.0001323/1.167, allocations: 112.7 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/1.167, allocations: 7.906 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/1.167, allocations: 130 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.167, allocations: 1.688 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.167, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.167, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/1.168, allocations: 216.7 kB / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.168, allocations: 0 / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/1.168, allocations: 51.89 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/1.168, allocations: 4 kB / 1.106 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/1.168, allocations: 0 / 1.106 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.168, allocations: 4 kB / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.168, allocations: 0 / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003976/1.169, allocations: 205 kB / 1.106 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005101/1.169, allocations: 0.5701 MB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/1.169, allocations: 88.95 kB / 1.107 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/1.169, allocations: 0 / 1.107 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/1.17, allocations: 55.86 kB / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/1.17, allocations: 3.984 kB / 1.107 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/1.17, allocations: 7.984 kB / 1.107 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001074/1.17, allocations: 102 kB / 1.107 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001197/1.172, allocations: 21.41 kB / 1.107 GB, free: 8.746 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.0001827/1.172, allocations: 99.23 kB / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003732/1.172, allocations: 82.52 kB / 1.107 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.172, allocations: 4 kB / 1.107 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/1.172, allocations: 36 kB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/1.173, allocations: 17.05 kB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/1.173, allocations: 143.6 kB / 1.107 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/1.174, allocations: 0.7276 MB / 1.108 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/1.174, allocations: 0 / 1.108 GB, free: 7.598 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)