Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [: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/BuildSysPro 3.5.0/package.mo): time 0.6562/0.6562, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 185.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 399.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000943/0.0009429, allocations: 99.25 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.103e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1462, allocations: 76.74 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.568, allocations: 109.2 MB / 0.7275 GB, free: 3.234 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5684, allocations: 83.94 kB / 0.7276 GB, free: 3.152 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.03446/0.6029, allocations: 12.79 MB / 0.7401 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.377e-05/0.6029, allocations: 19.98 kB / 0.7401 GB, free: 6.32 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001552/0.6045, allocations: 0.8955 MB / 0.741 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6046, allocations: 8.031 kB / 0.741 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.6047, allocations: 83.06 kB / 0.7411 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008397/0.6056, allocations: 0.5527 MB / 0.7416 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.6056, allocations: 24 kB / 0.7416 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.6057, allocations: 39.94 kB / 0.7417 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007964/0.6065, allocations: 402.6 kB / 0.742 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.6074, allocations: 0.5289 MB / 0.7426 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.6075, allocations: 0 / 0.7426 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.6075, allocations: 0 / 0.7426 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.6075, allocations: 19.91 kB / 0.7426 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.6107, allocations: 2.007 MB / 0.7445 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.6113, allocations: 319 kB / 0.7448 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.6116, allocations: 206.6 kB / 0.745 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.6117, allocations: 8.438 kB / 0.745 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.6121, allocations: 232.4 kB / 0.7453 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.6121, allocations: 0 / 0.7453 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.0007182/0.6128, allocations: 398.9 kB / 0.7456 GB, free: 432 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.6129, allocations: 162.6 kB / 0.7458 GB, free: 232 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.6134, allocations: 353.1 kB / 0.7461 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.6134, allocations: 29.7 kB / 0.7462 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.6137, allocations: 256.3 kB / 0.7464 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.6138, allocations: 153.7 kB / 0.7466 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.6138, allocations: 0 / 0.7466 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.614, allocations: 370.7 kB / 0.7469 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.6143, allocations: 149.3 kB / 0.7471 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.6146, allocations: 247.1 kB / 0.7473 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.615, allocations: 169.4 kB / 0.7475 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.615, allocations: 4 kB / 0.7475 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008003/0.6158, allocations: 467.8 kB / 0.7479 GB, free: 14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.6162, allocations: 0.6143 MB / 0.7485 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.6162, allocations: 4 kB / 0.7485 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.6162, allocations: 4 kB / 0.7485 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.6167, allocations: 131.8 kB / 0.7486 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6168, allocations: 7.906 kB / 0.7486 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.6172, allocations: 71.58 kB / 0.7487 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.6173, allocations: 20 kB / 0.7487 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-06/0.6173, allocations: 0 / 0.7487 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006201/0.6179, allocations: 370.8 kB / 0.7491 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.6179, allocations: 0 / 0.7491 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.618, allocations: 4 kB / 0.7491 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.6184, allocations: 115.8 kB / 0.7492 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6184, allocations: 4 kB / 0.7492 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.6188, allocations: 59.75 kB / 0.7493 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.6188, allocations: 16 kB / 0.7493 GB, free: 12.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0001485/0.619, allocations: 123.5 kB / 0.7494 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.6191, allocations: 55.34 kB / 0.7494 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.6192, allocations: 61.22 kB / 0.7495 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6192, allocations: 11.91 kB / 0.7495 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6193, allocations: 0 / 0.7495 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6193, allocations: 3.984 kB / 0.7495 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.6208, allocations: 1.103 MB / 0.7506 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6209, allocations: 4 kB / 0.7506 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.6214, allocations: 107.9 kB / 0.7507 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.6214, allocations: 8 kB / 0.7507 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.6215, allocations: 7.984 kB / 0.7507 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.6215, allocations: 7.906 kB / 0.7507 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6215, allocations: 0 / 0.7507 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001045/0.6225, allocations: 0.7088 MB / 0.7514 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.6228, allocations: 180.3 kB / 0.7516 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.263e-05/0.6229, allocations: 4 kB / 0.7516 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.6233, allocations: 59.83 kB / 0.7516 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6234, allocations: 36.38 kB / 0.7517 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.6234, allocations: 12 kB / 0.7517 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003523/0.6238, allocations: 267.2 kB / 0.7519 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007431/0.6245, allocations: 239 kB / 0.7522 GB, free: 9.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001963/0.6247, allocations: 124.5 kB / 0.7523 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.6258, allocations: 0.6636 MB / 0.7529 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6258, allocations: 3.938 kB / 0.7529 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.6261, allocations: 201.6 kB / 0.7531 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.6269, allocations: 130.5 kB / 0.7533 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.6299, allocations: 1.285 MB / 0.7545 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/0.6306, allocations: 0.9531 MB / 0.7555 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.6306, allocations: 4 kB / 0.7555 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of Templates: time 0.01663/0.6472, allocations: 9.173 MB / 0.7644 GB, free: 12.96 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)