Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") [: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.318/1.318, 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.0008812/0.0008813, allocations: 187.5 kB / 361.1 MB, free: 7.086 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.059/1.059, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008241/0.0008242, allocations: 86.28 kB / 0.7325 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.042e-05, allocations: 8 kB / 0.8511 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1846, allocations: 115.3 MB / 0.9637 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5977, allocations: 136.8 MB / 1.097 GB, free: 73.23 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001335/0.5979, allocations: 69.16 kB / 1.097 GB, free: 73.17 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.001221/0.5991, allocations: 377.3 kB / 1.098 GB, free: 72.82 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5991, allocations: 0 / 1.098 GB, free: 72.82 MB / 0.7605 GB 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.0002151/0.5994, allocations: 330 kB / 1.098 GB, free: 72.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.5994, allocations: 8.031 kB / 1.098 GB, free: 72.46 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.5994, allocations: 8.562 kB / 1.098 GB, free: 72.45 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.672e-05/0.5995, allocations: 167.9 kB / 1.098 GB, free: 72.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5995, allocations: 0 / 1.098 GB, free: 72.25 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.5995, allocations: 6.344 kB / 1.098 GB, free: 72.24 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.55e-05/0.5996, allocations: 5.375 kB / 1.098 GB, free: 72.24 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.614e-05/0.5996, allocations: 37.69 kB / 1.098 GB, free: 72.2 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.5996, allocations: 0.75 kB / 1.098 GB, free: 72.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.5997, allocations: 1.531 kB / 1.098 GB, free: 72.2 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.5997, allocations: 3.906 kB / 1.098 GB, free: 72.19 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.5998, allocations: 228.2 kB / 1.098 GB, free: 71.93 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.5999, allocations: 30.52 kB / 1.098 GB, free: 71.89 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.5999, allocations: 8.922 kB / 1.098 GB, free: 71.88 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.5999, allocations: 3.781 kB / 1.098 GB, free: 71.88 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.059e-05/0.5999, allocations: 30.56 kB / 1.099 GB, free: 71.84 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.6, allocations: 2.719 kB / 1.099 GB, free: 71.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2): time 0.0001074/0.6001, allocations: 45.59 kB / 1.099 GB, free: 71.79 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.213e-05/0.6001, allocations: 51.41 kB / 1.099 GB, free: 71.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.087e-05/0.6001, allocations: 93 kB / 1.099 GB, free: 71.63 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.6001, allocations: 26.27 kB / 1.099 GB, free: 71.6 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 1.377e-05/0.6002, allocations: 85.52 kB / 1.099 GB, free: 71.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.6002, allocations: 3.906 kB / 1.099 GB, free: 71.51 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.6002, allocations: 0 / 1.099 GB, free: 71.51 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.6002, allocations: 319.7 kB / 1.099 GB, free: 71.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.6002, allocations: 7.938 kB / 1.099 GB, free: 71.18 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-06/0.6003, allocations: 1.25 kB / 1.099 GB, free: 71.18 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.421e-05/0.6003, allocations: 8 kB / 1.099 GB, free: 71.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6003, allocations: 0 / 1.099 GB, free: 71.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.138e-05/0.6004, allocations: 46.61 kB / 1.099 GB, free: 71.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.6004, allocations: 4 kB / 1.099 GB, free: 71.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6004, allocations: 0.75 kB / 1.099 GB, free: 71.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.6004, allocations: 1.859 kB / 1.099 GB, free: 71.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.6005, allocations: 14.05 kB / 1.099 GB, free: 71.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.6005, allocations: 5 kB / 1.099 GB, free: 71.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.6006, allocations: 8.922 kB / 1.099 GB, free: 71.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.6006, allocations: 3.406 kB / 1.099 GB, free: 71.1 MB / 0.7605 GB 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 3.239e-05/0.6006, allocations: 105.5 kB / 1.099 GB, free: 70.99 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.6006, allocations: 6.594 kB / 1.099 GB, free: 70.98 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.737e-05/0.6007, allocations: 48.94 kB / 1.099 GB, free: 70.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.6007, allocations: 0 / 1.099 GB, free: 70.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6007, allocations: 1.875 kB / 1.099 GB, free: 70.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-06/0.6007, allocations: 0 / 1.099 GB, free: 70.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.924e-05/0.6008, allocations: 138.1 kB / 1.1 GB, free: 70.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6008, allocations: 0.8438 kB / 1.1 GB, free: 70.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.6009, allocations: 18.05 kB / 1.1 GB, free: 70.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.6009, allocations: 1.25 kB / 1.1 GB, free: 70.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.6009, allocations: 0 / 1.1 GB, free: 70.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6009, allocations: 0 / 1.1 GB, free: 70.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6009, allocations: 3.812 kB / 1.1 GB, free: 70.75 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.193e-05/0.601, allocations: 139.5 kB / 1.1 GB, free: 70.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.601, allocations: 77.11 kB / 1.1 GB, free: 70.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.601, allocations: 3.938 kB / 1.1 GB, free: 70.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.502e-05/0.6011, allocations: 16.05 kB / 1.1 GB, free: 70.48 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.6011, allocations: 0 / 1.1 GB, free: 70.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.6012, allocations: 0 / 1.1 GB, free: 70.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.241e-05/0.6012, allocations: 87.27 kB / 1.1 GB, free: 70.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001866/0.6014, allocations: 4 kB / 1.1 GB, free: 70.39 MB / 0.7605 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 (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 7.856e-05/0.6015, allocations: 100.8 kB / 1.1 GB, free: 70.29 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 5.138e-05/0.6015, allocations: 19.62 kB / 1.1 GB, free: 70.27 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6015, allocations: 1.094 kB / 1.1 GB, free: 70.27 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.6015, allocations: 4 kB / 1.1 GB, free: 70.27 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.6017, allocations: 0.7812 kB / 1.1 GB, free: 70.27 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001376/0.6018, allocations: 64 kB / 1.1 GB, free: 70.19 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.6019, allocations: 0.6885 MB / 1.101 GB, free: 69.47 MB / 0.7605 GB Notification: Performance of SimCode: time 7.71e-07/0.6019, allocations: 0 / 1.101 GB, free: 69.47 MB / 0.7605 GB Notification: Performance of Templates: time 0.001505/0.6035, allocations: 401.8 kB / 1.101 GB, free: 69.13 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)