Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID") [: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.7697/0.7697, allocations: 132.4 MB / 139.7 MB, free: 15.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001312/0.001312, allocations: 173.1 kB / 171.6 MB, free: 1.996 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.607/1.607, allocations: 170.5 MB / 373.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001731/0.001731, allocations: 120.1 kB / 444.4 MB, free: 9.438 MB / 346.7 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.5652/0.5652, allocations: 73.4 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.7144, allocations: 105.4 MB / 0.769 GB, free: 14.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.7147, allocations: 75.95 kB / 0.769 GB, free: 14.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.06155/0.7763, allocations: 19.27 MB / 0.7878 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.86e-05/0.7764, allocations: 16 kB / 0.7879 GB, free: 11.55 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002657/0.7791, allocations: 0.9582 MB / 0.7888 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.7792, allocations: 8.031 kB / 0.7888 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.7798, allocations: 90.97 kB / 0.7889 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.7815, allocations: 0.5898 MB / 0.7895 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.7816, allocations: 82.92 kB / 0.7895 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.7818, allocations: 32 kB / 0.7896 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008438/0.7827, allocations: 318 kB / 0.7899 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/0.7836, allocations: 464.4 kB / 0.7903 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.7836, allocations: 0 / 0.7903 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.7837, allocations: 3.906 kB / 0.7903 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.7837, allocations: 12 kB / 0.7903 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.787, allocations: 1.396 MB / 0.7917 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009158/0.788, allocations: 415.9 kB / 0.7921 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.7883, allocations: 152.9 kB / 0.7922 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.7884, allocations: 4 kB / 0.7922 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.7888, allocations: 230 kB / 0.7925 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 3.807e-06/0.7888, allocations: 4 kB / 0.7925 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0008262/0.7896, allocations: 366 kB / 0.7928 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.7898, allocations: 217.6 kB / 0.793 GB, free: 6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.7904, allocations: 418.5 kB / 0.7934 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.7905, allocations: 29.7 kB / 0.7935 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.7908, allocations: 225 kB / 0.7937 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.7909, allocations: 149.8 kB / 0.7938 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.791, allocations: 0 / 0.7938 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.7912, allocations: 374.8 kB / 0.7942 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.7915, allocations: 128.9 kB / 0.7943 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.7918, allocations: 216 kB / 0.7945 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.7921, allocations: 152.7 kB / 0.7946 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7921, allocations: 3.094 kB / 0.7946 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007782/0.7929, allocations: 422.3 kB / 0.795 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7929, allocations: 4 kB / 0.7951 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7929, allocations: 3.938 kB / 0.7951 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.793, allocations: 4 kB / 0.7951 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.7935, allocations: 111.9 kB / 0.7952 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7935, allocations: 0 / 0.7952 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.7941, allocations: 75.64 kB / 0.7952 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.7941, allocations: 12 kB / 0.7953 GB, free: 3.664 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$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 (54): * Single equations (assignments): 53 * 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.000171/0.7943, allocations: 116.8 kB / 0.7954 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.7945, allocations: 63.25 kB / 0.7954 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.7946, allocations: 65.92 kB / 0.7955 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.7946, allocations: 4 kB / 0.7955 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.7946, allocations: 4 kB / 0.7955 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7947, allocations: 3.984 kB / 0.7955 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.7954, allocations: 0.5561 MB / 0.796 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.7954, allocations: 4 kB / 0.796 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.796, allocations: 95.8 kB / 0.7961 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.796, allocations: 0 / 0.7961 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.796, allocations: 11.98 kB / 0.7961 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.796, allocations: 0 / 0.7961 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7961, allocations: 4 kB / 0.7962 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001043/0.7971, allocations: 0.5998 MB / 0.7967 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.7974, allocations: 196.2 kB / 0.7969 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.7975, allocations: 6.5 kB / 0.7969 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.7982, allocations: 67.84 kB / 0.797 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7983, allocations: 31.89 kB / 0.797 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.7984, allocations: 19.98 kB / 0.797 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005177/0.7989, allocations: 330.9 kB / 0.7974 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005377/0.7995, allocations: 111.6 kB / 0.7975 GB, free: 1.32 MB / 0.4948 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 (44): * Single equations (assignments): 42 * 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.0002301/0.7997, allocations: 112.2 kB / 0.7976 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007162/0.8004, allocations: 363.7 kB / 0.7979 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8005, allocations: 0 / 0.7979 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.8008, allocations: 187.7 kB / 0.7981 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.8016, allocations: 130.4 kB / 0.7982 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.8039, allocations: 0.7869 MB / 0.799 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009437/0.8049, allocations: 0.9628 MB / 0.7999 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.8049, allocations: 0 / 0.7999 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.01522/0.8201, allocations: 7.202 MB / 0.807 GB, free: 7.656 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)