Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [: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.8194/0.8194, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001344/0.001344, allocations: 171.9 kB / 171.6 MB, free: 1.988 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.731/1.731, allocations: 170.5 MB / 373.9 MB, free: 15.9 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.001955/0.001954, allocations: 98.86 kB / 444.4 MB, free: 9.426 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.5687/0.5687, allocations: 73.39 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.7456, allocations: 106.5 MB / 0.77 GB, free: 13.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.7459, allocations: 87.94 kB / 0.7701 GB, free: 13.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.04893/0.7949, allocations: 16.86 MB / 0.7865 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.131e-05/0.795, allocations: 12 kB / 0.7865 GB, free: 12.91 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00214/0.7972, allocations: 1.049 MB / 0.7876 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.7972, allocations: 15.97 kB / 0.7876 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.7982, allocations: 206.8 kB / 0.7878 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.7994, allocations: 0.6206 MB / 0.7884 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.7995, allocations: 20.88 kB / 0.7884 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.714e-05/0.7996, allocations: 28 kB / 0.7884 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008476/0.8004, allocations: 406 kB / 0.7888 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/0.8014, allocations: 0.5238 MB / 0.7893 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.8014, allocations: 3.906 kB / 0.7893 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/0.8015, allocations: 4 kB / 0.7893 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.8015, allocations: 12 kB / 0.7893 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.8048, allocations: 1.67 MB / 0.791 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.806, allocations: 0.5117 MB / 0.7915 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.8064, allocations: 199.2 kB / 0.7917 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007498/0.8071, allocations: 448.6 kB / 0.7921 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.8076, allocations: 260 kB / 0.7923 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.8076, allocations: 0 / 0.7923 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.001228/0.8088, allocations: 0.5084 MB / 0.7928 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.809, allocations: 213.5 kB / 0.793 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.8095, allocations: 422.4 kB / 0.7934 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.8096, allocations: 25.7 kB / 0.7935 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.8098, allocations: 228.8 kB / 0.7937 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.81, allocations: 138 kB / 0.7938 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.81, allocations: 0 / 0.7938 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.8102, allocations: 370.8 kB / 0.7942 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.8105, allocations: 164.9 kB / 0.7943 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.8109, allocations: 249.9 kB / 0.7946 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.8115, allocations: 244.5 kB / 0.7948 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8115, allocations: 0 / 0.7948 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001164/0.8127, allocations: 0.5336 MB / 0.7953 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.8127, allocations: 6.656 kB / 0.7953 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8128, allocations: 0 / 0.7953 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8128, allocations: 0 / 0.7953 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.8136, allocations: 167.8 kB / 0.7955 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.8136, allocations: 0 / 0.7955 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.8143, allocations: 135.6 kB / 0.7956 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.8144, allocations: 15.98 kB / 0.7956 GB, free: 3.199 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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.0001698/0.8146, allocations: 113.9 kB / 0.7957 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8147, allocations: 63.16 kB / 0.7958 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.8159, allocations: 0.5428 MB / 0.7963 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.8159, allocations: 4 kB / 0.7963 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.8159, allocations: 2 kB / 0.7963 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.8159, allocations: 3.984 kB / 0.7963 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.8167, allocations: 0.6439 MB / 0.797 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8168, allocations: 0 / 0.797 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.8176, allocations: 167.8 kB / 0.7971 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.8176, allocations: 0 / 0.7971 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.8176, allocations: 8.875 kB / 0.7971 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8176, allocations: 0 / 0.7971 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8177, allocations: 0 / 0.7971 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001538/0.8192, allocations: 0.8191 MB / 0.7979 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.8195, allocations: 208.1 kB / 0.7981 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8196, allocations: 4 kB / 0.7981 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.8203, allocations: 111.9 kB / 0.7982 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.8204, allocations: 39.92 kB / 0.7983 GB, free: 408 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.8205, allocations: 19.56 kB / 0.7983 GB, free: 392 kB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004224/0.8209, allocations: 330.9 kB / 0.7986 GB, free: 64 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005365/0.8215, allocations: 136.1 kB / 0.7987 GB, free: 15.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002549/0.8217, allocations: 134.4 kB / 0.7989 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008014/0.8225, allocations: 465.4 kB / 0.7993 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8225, allocations: 0 / 0.7993 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.8229, allocations: 227.8 kB / 0.7995 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.8236, allocations: 122.2 kB / 0.7996 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.8255, allocations: 0.7856 MB / 0.8004 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008029/0.8264, allocations: 0.9546 MB / 0.8013 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.8264, allocations: 4 kB / 0.8014 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.0172/0.8436, allocations: 8.409 MB / 0.8096 GB, free: 4.891 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)