Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") [: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.7182/0.7182, 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.001122/0.001122, allocations: 170.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.32/1.32, allocations: 170.5 MB / 373.9 MB, free: 15.92 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.001823/0.001823, allocations: 118.4 kB / 444.4 MB, free: 9.449 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.5097/0.5097, allocations: 73.4 MB / 0.666 GB, free: 62.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.434, allocations: 2.15 GB / 2.816 GB, free: 38.09 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/5.434, allocations: 91.94 kB / 2.816 GB, free: 38 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sources/BaseClasses/Outside.mo:28:11-28:23:writable] Warning: Non-array modification '"kg/kg"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 1.819/7.253, allocations: 488.3 MB / 3.293 GB, free: 46.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001835/7.254, allocations: 36 kB / 3.293 GB, free: 46.25 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.006345/7.26, allocations: 2.001 MB / 3.295 GB, free: 44.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/7.26, allocations: 8.031 kB / 3.295 GB, free: 44.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/7.265, allocations: 0.5363 MB / 3.296 GB, free: 43.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/7.267, allocations: 0.8817 MB / 3.297 GB, free: 42.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/7.267, allocations: 48 kB / 3.297 GB, free: 42.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/7.268, allocations: 104 kB / 3.297 GB, free: 42.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003701/7.272, allocations: 1.548 MB / 3.298 GB, free: 40.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/7.275, allocations: 1.444 MB / 3.3 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/7.275, allocations: 11.98 kB / 3.3 GB, free: 39.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/7.276, allocations: 4 kB / 3.3 GB, free: 39.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/7.276, allocations: 36 kB / 3.3 GB, free: 39.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/7.286, allocations: 5.177 MB / 3.305 GB, free: 34.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/7.288, allocations: 1.138 MB / 3.306 GB, free: 32.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/7.289, allocations: 0.5076 MB / 3.306 GB, free: 32.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/7.29, allocations: 1.037 MB / 3.307 GB, free: 31.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/7.291, allocations: 0.7204 MB / 3.308 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=115): time 5.34e-06/7.291, allocations: 0 / 3.308 GB, free: 30.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=115): time 0.003363/7.295, allocations: 1.258 MB / 3.309 GB, free: 29.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/7.295, allocations: 260.3 kB / 3.31 GB, free: 28.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/7.296, allocations: 0.6174 MB / 3.31 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/7.296, allocations: 37.7 kB / 3.31 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005044/7.297, allocations: 499.8 kB / 3.311 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/7.297, allocations: 374.4 kB / 3.311 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/7.297, allocations: 4 kB / 3.311 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00016/7.298, allocations: 402.6 kB / 3.312 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/7.298, allocations: 438.1 kB / 3.312 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/7.299, allocations: 0.5431 MB / 3.312 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/7.301, allocations: 0.5873 MB / 3.313 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/7.301, allocations: 4 kB / 3.313 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003538/7.304, allocations: 1.408 MB / 3.314 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/7.304, allocations: 4 kB / 3.314 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/7.304, allocations: 7.906 kB / 3.314 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009122/7.305, allocations: 150.6 kB / 3.315 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/7.306, allocations: 207.8 kB / 3.315 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/7.31, allocations: 3.93 MB / 3.319 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/7.312, allocations: 131.2 kB / 3.319 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/7.312, allocations: 47.97 kB / 3.319 GB, free: 18.99 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,bou1.x_pTphi.i_w,bou1.x_pTphi.i_nw,bou1.x_pTphi.found,bouFix.x_pTphi.i_w,bouFix.x_pTphi.i_nw,bouFix.x_pTphi.found,bou2.x_pTphi.i_w,bou2.x_pTphi.i_nw,bou2.x_pTphi.found) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005891/7.312, allocations: 245.3 kB / 3.319 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/7.313, allocations: 106.8 kB / 3.319 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/7.317, allocations: 1.617 MB / 3.321 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/7.317, allocations: 12 kB / 3.321 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/7.317, allocations: 7.938 kB / 3.321 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/7.317, allocations: 3.984 kB / 3.321 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/7.319, allocations: 1.143 MB / 3.322 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/7.319, allocations: 0 / 3.322 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/7.32, allocations: 203.8 kB / 3.322 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/7.321, allocations: 142.5 kB / 3.322 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/7.321, allocations: 23.97 kB / 3.322 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/7.324, allocations: 3.958 MB / 3.326 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/7.325, allocations: 0 / 3.326 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004704/7.329, allocations: 2.115 MB / 3.328 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/7.33, allocations: 407.2 kB / 3.328 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/7.331, allocations: 4 kB / 3.329 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/7.332, allocations: 111.9 kB / 3.329 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/7.333, allocations: 68.81 kB / 3.329 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/7.333, allocations: 59.89 kB / 3.329 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008279/7.334, allocations: 495.1 kB / 3.329 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003092/7.337, allocations: 0.6896 MB / 3.33 GB, free: 7.133 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003291/7.34, allocations: 2.034 MB / 3.332 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0025/7.343, allocations: 1.644 MB / 3.333 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/7.343, allocations: 4.5 kB / 3.333 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/7.344, allocations: 1.029 MB / 3.334 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/7.346, allocations: 324.3 kB / 3.335 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3672/7.713, allocations: 2.489 MB / 3.337 GB, free: 175.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/7.714, allocations: 1.413 MB / 3.339 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/7.714, allocations: 0 / 3.339 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.06512/7.78, allocations: 32.93 MB / 3.371 GB, free: 173.9 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)