Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID",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.128/2.128, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.001613/0.001612, allocations: 185.2 kB / 360.3 MB, free: 7.5 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.632/1.632, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001229/0.001228, allocations: 87.95 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2435/0.2448, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.7995, allocations: 115.2 MB / 0.9627 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2178/1.017, allocations: 145.2 MB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.018, allocations: 77.97 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.07754/1.095, allocations: 17.46 MB / 1.122 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.095, allocations: 8.5 kB / 1.122 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/1.096, allocations: 94.88 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.097, allocations: 0.5979 MB / 1.122 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/1.097, allocations: 80.41 kB / 1.122 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.097, allocations: 35.91 kB / 1.122 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001135/1.099, allocations: 338 kB / 1.123 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/1.1, allocations: 0.5062 MB / 1.123 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/1.1, allocations: 0 / 1.123 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/1.1, allocations: 4 kB / 1.123 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/1.1, allocations: 12 kB / 1.123 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/1.105, allocations: 2.105 MB / 1.125 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.106, allocations: 418.6 kB / 1.126 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/1.107, allocations: 160.8 kB / 1.126 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.085e-05/1.107, allocations: 7.984 kB / 1.126 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006164/1.107, allocations: 231.9 kB / 1.126 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/1.107, allocations: 1.781 kB / 1.126 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001144/1.108, allocations: 385.4 kB / 1.126 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.109, allocations: 187.9 kB / 1.127 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/1.109, allocations: 475.7 kB / 1.127 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/1.11, allocations: 25.7 kB / 1.127 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/1.11, allocations: 256.7 kB / 1.127 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/1.11, allocations: 153.8 kB / 1.127 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/1.11, allocations: 0 / 1.127 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.11, allocations: 374.8 kB / 1.128 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/1.111, allocations: 145.3 kB / 1.128 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/1.111, allocations: 264.1 kB / 1.128 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/1.112, allocations: 168.7 kB / 1.128 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.112, allocations: 0 / 1.128 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001327/1.113, allocations: 474.1 kB / 1.129 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004845/1.114, allocations: 0.9657 MB / 1.13 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.114, allocations: 6.188 kB / 1.13 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.114, allocations: 4 kB / 1.13 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.115, allocations: 127.8 kB / 1.13 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.115, allocations: 11.92 kB / 1.13 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/1.116, allocations: 68.22 kB / 1.13 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/1.116, allocations: 23.98 kB / 1.13 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.116, allocations: 4.938 kB / 1.13 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001098/1.117, allocations: 365.4 kB / 1.13 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.117, allocations: 4 kB / 1.13 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.117, allocations: 7.984 kB / 1.13 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/1.118, allocations: 116.1 kB / 1.131 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/1.118, allocations: 14.77 kB / 1.131 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/1.119, allocations: 63.59 kB / 1.131 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/1.119, allocations: 16 kB / 1.131 GB, free: 0.5703 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002274/1.119, allocations: 132.5 kB / 1.131 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.119, allocations: 67.16 kB / 1.131 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/1.12, allocations: 74.61 kB / 1.131 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.12, allocations: 8 kB / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.12, allocations: 3.75 kB / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.12, allocations: 0 / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/1.121, allocations: 0.5756 MB / 1.131 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.121, allocations: 4 kB / 1.131 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.122, allocations: 103.8 kB / 1.132 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/1.122, allocations: 4 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/1.122, allocations: 0 / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.122, allocations: 4 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.122, allocations: 0 / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001851/1.124, allocations: 0.624 MB / 1.132 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002432/1.126, allocations: 1.209 MB / 1.133 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/1.127, allocations: 200.1 kB / 1.134 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/1.127, allocations: 7.906 kB / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.128, allocations: 63.94 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.128, allocations: 31.94 kB / 1.134 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/1.128, allocations: 15.98 kB / 1.134 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0007212/1.129, allocations: 367.2 kB / 1.134 GB, free: 13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002737/1.132, allocations: 215.1 kB / 1.134 GB, free: 12.79 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.000234/1.132, allocations: 111.2 kB / 1.134 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.134, allocations: 0.6549 MB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.134, allocations: 0 / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005193/1.134, allocations: 179.9 kB / 1.135 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.136, allocations: 160.1 kB / 1.135 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/1.139, allocations: 0.8923 MB / 1.136 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.14, allocations: 1 MB / 1.137 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/1.14, allocations: 0 / 1.137 GB, free: 9.73 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)