Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [: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.287/1.287, allocations: 285.5 MB / 292.8 MB, free: 36 kB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 189 kB / 361.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.1 MB / 0.6195 GB, free: 5.586 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 91.36 kB / 0.7326 GB, free: 5.223 MB / 0.545 GB Notification: Performance of FrontEnd - loaded program: time 7.204e-06/7.204e-06, allocations: 2.5 kB / 0.8511 GB, free: 144 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 115.3 MB / 0.9637 GB, free: 60.17 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.2944, allocations: 137.9 MB / 1.098 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001633/0.2946, allocations: 75.95 kB / 1.098 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.2943/0.5889, allocations: 4.537 MB / 1.103 GB, free: 49.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.5889, allocations: 3.719 kB / 1.103 GB, free: 49.88 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006475/0.5895, allocations: 0.5845 MB / 1.103 GB, free: 49.4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.5896, allocations: 8.312 kB / 1.103 GB, free: 49.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.5897, allocations: 31.16 kB / 1.103 GB, free: 49.39 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.59, allocations: 286.3 kB / 1.104 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.5901, allocations: 7.719 kB / 1.104 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.5901, allocations: 24.95 kB / 1.104 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002456/0.5904, allocations: 152.7 kB / 1.104 GB, free: 49.17 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.5906, allocations: 188.6 kB / 1.104 GB, free: 49.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5906, allocations: 7.844 kB / 1.104 GB, free: 49.12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.5907, allocations: 6.219 kB / 1.104 GB, free: 49.12 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5907, allocations: 7.719 kB / 1.104 GB, free: 49.12 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.5917, allocations: 0.7272 MB / 1.105 GB, free: 48.85 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.5919, allocations: 166.1 kB / 1.105 GB, free: 48.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.592, allocations: 111.7 kB / 1.105 GB, free: 48.81 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.5921, allocations: 4.094 kB / 1.105 GB, free: 48.81 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.5923, allocations: 189.4 kB / 1.105 GB, free: 48.76 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.5923, allocations: 0 / 1.105 GB, free: 48.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27): time 0.0003931/0.5927, allocations: 274.8 kB / 1.106 GB, free: 48.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.5927, allocations: 58.92 kB / 1.106 GB, free: 48.65 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.5928, allocations: 187.7 kB / 1.106 GB, free: 48.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.5929, allocations: 32.3 kB / 1.106 GB, free: 48.51 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.5929, allocations: 121 kB / 1.106 GB, free: 48.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.593, allocations: 57.62 kB / 1.106 GB, free: 48.38 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.593, allocations: 5.75 kB / 1.106 GB, free: 48.38 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.593, allocations: 334.6 kB / 1.106 GB, free: 48.06 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.5932, allocations: 133.9 kB / 1.106 GB, free: 48.06 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.5935, allocations: 188.5 kB / 1.107 GB, free: 48.01 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.5938, allocations: 150.2 kB / 1.107 GB, free: 48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5938, allocations: 3.906 kB / 1.107 GB, free: 48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006768/0.5945, allocations: 392.1 kB / 1.107 GB, free: 47.95 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.5945, allocations: 3.906 kB / 1.107 GB, free: 47.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5946, allocations: 0.5469 kB / 1.107 GB, free: 47.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5946, allocations: 3.906 kB / 1.107 GB, free: 47.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.5949, allocations: 69.8 kB / 1.107 GB, free: 47.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.5949, allocations: 4.656 kB / 1.107 GB, free: 47.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.5953, allocations: 118.2 kB / 1.107 GB, free: 47.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.5954, allocations: 18.39 kB / 1.107 GB, free: 47.92 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.604e-05/0.5955, allocations: 129.1 kB / 1.107 GB, free: 47.81 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.5955, allocations: 27.47 kB / 1.108 GB, free: 47.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.5956, allocations: 20.58 kB / 1.108 GB, free: 47.79 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5956, allocations: 3.969 kB / 1.108 GB, free: 47.79 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5956, allocations: 0 / 1.108 GB, free: 47.79 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5956, allocations: 7.078 kB / 1.108 GB, free: 47.78 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.5961, allocations: 0.6101 MB / 1.108 GB, free: 47.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5961, allocations: 3.938 kB / 1.108 GB, free: 47.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.5963, allocations: 48.89 kB / 1.108 GB, free: 47.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5963, allocations: 3.906 kB / 1.108 GB, free: 47.49 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.5963, allocations: 7.672 kB / 1.108 GB, free: 47.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5963, allocations: 0 / 1.108 GB, free: 47.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5963, allocations: 0 / 1.108 GB, free: 47.49 MB / 0.7169 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003171/0.5967, allocations: 378.9 kB / 1.109 GB, free: 47.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.5967, allocations: 98.92 kB / 1.109 GB, free: 47.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.5968, allocations: 7.844 kB / 1.109 GB, free: 47.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.597, allocations: 39.8 kB / 1.109 GB, free: 47.22 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.5971, allocations: 29.02 kB / 1.109 GB, free: 47.21 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.5971, allocations: 14.5 kB / 1.109 GB, free: 47.21 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.895e-05/0.5972, allocations: 144.4 kB / 1.109 GB, free: 47.13 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003052/0.5975, allocations: 66.5 kB / 1.109 GB, free: 47.12 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001167/0.5976, allocations: 128.5 kB / 1.109 GB, free: 47.03 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.598, allocations: 368 kB / 1.109 GB, free: 46.95 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.598, allocations: 0 / 1.109 GB, free: 46.95 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.5982, allocations: 139.2 kB / 1.11 GB, free: 46.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5985, allocations: 38.12 kB / 1.11 GB, free: 46.95 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.5991, allocations: 361.9 kB / 1.11 GB, free: 46.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.5993, allocations: 0.7794 MB / 1.111 GB, free: 46.12 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5993, allocations: 3.906 kB / 1.111 GB, free: 46.12 MB / 0.7169 GB Notification: Performance of Templates: time 0.005492/0.6048, allocations: 4.049 MB / 1.115 GB, free: 45.86 MB / 0.7169 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)