Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") [: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 3.0.0/package.mo): time 0.7415/0.7415, allocations: 132.4 MB / 139.7 MB, free: 3.578 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001215/0.001215, allocations: 172.5 kB / 171.6 MB, free: 4.18 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.616/1.616, allocations: 170.5 MB / 373.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001708/0.001708, allocations: 130.8 kB / 444.5 MB, free: 12.82 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2124/0.2124, allocations: 73.4 MB / 0.666 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5499/0.7624, allocations: 104.2 MB / 0.7678 GB, free: 4.875 MB / 478.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/0.7628, allocations: 91.23 kB / 0.7679 GB, free: 4.789 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.03131/0.7941, allocations: 9.274 MB / 0.7769 GB, free: 11.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.693e-05/0.7943, allocations: 8 kB / 0.7769 GB, free: 11.58 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002759/0.797, allocations: 0.9318 MB / 0.7778 GB, free: 10.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/0.7971, allocations: 8.031 kB / 0.7778 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.7976, allocations: 55.34 kB / 0.7779 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.7989, allocations: 443.4 kB / 0.7783 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.799, allocations: 16 kB / 0.7783 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.7992, allocations: 23.98 kB / 0.7783 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008862/0.8001, allocations: 413.1 kB / 0.7787 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8012, allocations: 0.5357 MB / 0.7793 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.8012, allocations: 0 / 0.7793 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.8013, allocations: 4 kB / 0.7793 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.8013, allocations: 11.94 kB / 0.7793 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.8044, allocations: 1.546 MB / 0.7808 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.8057, allocations: 0.6424 MB / 0.7814 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.8061, allocations: 272.3 kB / 0.7817 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.8062, allocations: 12.42 kB / 0.7817 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007553/0.807, allocations: 421.3 kB / 0.7821 GB, free: 6.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=51): time 3.597e-06/0.807, allocations: 3.938 kB / 0.7821 GB, free: 6 MB / 494.1 MB Notification: Performance of matching and sorting (n=51): time 0.001064/0.8081, allocations: 0.5321 MB / 0.7826 GB, free: 5.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002072/0.8083, allocations: 292.9 kB / 0.7829 GB, free: 5.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.8087, allocations: 315.4 kB / 0.7832 GB, free: 4.801 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/0.8088, allocations: 42.81 kB / 0.7832 GB, free: 4.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.809, allocations: 160.8 kB / 0.7834 GB, free: 4.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.8091, allocations: 118.4 kB / 0.7835 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.8092, allocations: 0 / 0.7835 GB, free: 4.477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.8094, allocations: 358.8 kB / 0.7838 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.8098, allocations: 201.2 kB / 0.784 GB, free: 3.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.8104, allocations: 396.5 kB / 0.7844 GB, free: 3.465 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.8108, allocations: 227.8 kB / 0.7846 GB, free: 3.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.8108, allocations: 4 kB / 0.7846 GB, free: 3.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0011/0.8119, allocations: 0.5685 MB / 0.7852 GB, free: 2.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.8119, allocations: 6.188 kB / 0.7852 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.812, allocations: 8 kB / 0.7852 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.952e-05/0.812, allocations: 13.67 kB / 0.7852 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.8125, allocations: 107.8 kB / 0.7853 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.8125, allocations: 8 kB / 0.7853 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.813, allocations: 79.77 kB / 0.7854 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.8131, allocations: 24 kB / 0.7854 GB, free: 2.426 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002644/0.8134, allocations: 170.4 kB / 0.7856 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.8135, allocations: 49.08 kB / 0.7856 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.8136, allocations: 46.89 kB / 0.7857 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.8136, allocations: 8 kB / 0.7857 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.8137, allocations: 0 / 0.7857 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-05/0.8137, allocations: 7.984 kB / 0.7857 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.8162, allocations: 1.587 MB / 0.7872 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.8162, allocations: 5.016 kB / 0.7873 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.8166, allocations: 79.88 kB / 0.7873 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.8166, allocations: 4 kB / 0.7873 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.8167, allocations: 19.89 kB / 0.7873 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.8167, allocations: 4 kB / 0.7874 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8167, allocations: 0 / 0.7874 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001367/0.8181, allocations: 1.054 MB / 0.7884 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.8185, allocations: 180.5 kB / 0.7886 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.8186, allocations: 15.89 kB / 0.7886 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/0.8195, allocations: 111.9 kB / 0.7887 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.8196, allocations: 43.94 kB / 0.7887 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.8197, allocations: 25.77 kB / 0.7887 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 0.0003307/0.82, allocations: 247 kB / 0.789 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008033/0.8208, allocations: 99.75 kB / 0.7891 GB, free: 14.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.000301/0.8211, allocations: 143.2 kB / 0.7892 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.8222, allocations: 0.5548 MB / 0.7898 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.8223, allocations: 0 / 0.7898 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.8228, allocations: 296.3 kB / 0.79 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.8235, allocations: 56.06 kB / 0.7901 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.8256, allocations: 0.7539 MB / 0.7908 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.8268, allocations: 0.9513 MB / 0.7918 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.8268, allocations: 0 / 0.7918 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.01384/0.8406, allocations: 5.677 MB / 0.7973 GB, free: 6.168 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.pipe 2>&1)