Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",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/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 188.3 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5023/0.5023, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.4 MB / 342.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009177, allocations: 93.36 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1861/0.187, allocations: 78.44 MB / 493.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.5757, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.6915, allocations: 101.7 MB / 0.6522 GB, free: 8.344 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.6917, allocations: 75.95 kB / 0.6523 GB, free: 8.27 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.005229/0.697, allocations: 1.677 MB / 0.654 GB, free: 6.582 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.697, allocations: 12 kB / 0.654 GB, free: 6.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.6971, allocations: 8.406 kB / 0.654 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.6973, allocations: 199.8 kB / 0.6542 GB, free: 6.328 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.6974, allocations: 7.984 kB / 0.6542 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.6974, allocations: 4 kB / 0.6542 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/0.6975, allocations: 51.28 kB / 0.6542 GB, free: 6.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.6977, allocations: 97.58 kB / 0.6543 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6977, allocations: 0 / 0.6543 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.6977, allocations: 4 kB / 0.6543 GB, free: 6.164 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6978, allocations: 0 / 0.6543 GB, free: 6.164 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.6984, allocations: 316.8 kB / 0.6546 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.6985, allocations: 72.03 kB / 0.6547 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.6986, allocations: 55.03 kB / 0.6547 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.6986, allocations: 0.5938 kB / 0.6547 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.6988, allocations: 100.4 kB / 0.6548 GB, free: 5.578 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6988, allocations: 0.8438 kB / 0.6548 GB, free: 5.578 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.000259/0.6991, allocations: 99.92 kB / 0.6549 GB, free: 5.477 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.6991, allocations: 85.64 kB / 0.655 GB, free: 5.375 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.6992, allocations: 117.4 kB / 0.6551 GB, free: 5.254 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.6993, allocations: 30.42 kB / 0.6552 GB, free: 5.219 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.6993, allocations: 92.06 kB / 0.6553 GB, free: 5.125 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.6994, allocations: 16.56 kB / 0.6553 GB, free: 5.109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.6994, allocations: 4 kB / 0.6553 GB, free: 5.105 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6995, allocations: 319.9 kB / 0.6556 GB, free: 4.785 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.6996, allocations: 40 kB / 0.6556 GB, free: 4.746 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.6997, allocations: 48.52 kB / 0.6557 GB, free: 4.699 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.823e-05/0.6998, allocations: 31.92 kB / 0.6557 GB, free: 4.668 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6998, allocations: 0 / 0.6557 GB, free: 4.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002109/0.7, allocations: 124.6 kB / 0.6558 GB, free: 4.543 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.7, allocations: 4 kB / 0.6558 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7, allocations: 0 / 0.6558 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.7, allocations: 3.938 kB / 0.6558 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.7002, allocations: 27.92 kB / 0.6558 GB, free: 4.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7002, allocations: 0 / 0.6558 GB, free: 4.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.7004, allocations: 31.97 kB / 0.6559 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.7004, allocations: 11.98 kB / 0.6559 GB, free: 4.465 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 0.0001136/0.7005, allocations: 142.6 kB / 0.656 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.7006, allocations: 7.906 kB / 0.656 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.7006, allocations: 12.36 kB / 0.656 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7006, allocations: 0 / 0.656 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7006, allocations: 0 / 0.656 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7006, allocations: 1.312 kB / 0.656 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.7008, allocations: 166.2 kB / 0.6562 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7008, allocations: 4 kB / 0.6562 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.582e-05/0.7009, allocations: 23.97 kB / 0.6562 GB, free: 4.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.7009, allocations: 3.906 kB / 0.6562 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.7009, allocations: 0 / 0.6562 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7009, allocations: 4 kB / 0.6562 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7009, allocations: 0 / 0.6562 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002192/0.7012, allocations: 138.2 kB / 0.6564 GB, free: 3.906 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003334/0.7015, allocations: 0.5014 MB / 0.6569 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.7016, allocations: 81.02 kB / 0.6569 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.7016, allocations: 13.41 kB / 0.6569 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.7018, allocations: 31.97 kB / 0.657 GB, free: 3.242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.7019, allocations: 35.95 kB / 0.657 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.702, allocations: 0 / 0.657 GB, free: 3.207 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.627e-05/0.702, allocations: 101.9 kB / 0.6571 GB, free: 3.109 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001179/0.7032, allocations: 23.94 kB / 0.6571 GB, free: 3.086 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001748/0.7034, allocations: 111.2 kB / 0.6572 GB, free: 2.965 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.7037, allocations: 163.3 kB / 0.6574 GB, free: 2.793 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7037, allocations: 3.188 kB / 0.6574 GB, free: 2.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.7039, allocations: 89.69 kB / 0.6575 GB, free: 2.699 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.7041, allocations: 14.64 kB / 0.6575 GB, free: 2.688 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.7045, allocations: 151.3 kB / 0.6576 GB, free: 2.516 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.7049, allocations: 0.7075 MB / 0.6583 GB, free: 1.781 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7049, allocations: 0 / 0.6583 GB, free: 1.781 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)