Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Rooms.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature") translateModel(Buildings.Rooms.BaseClasses.Examples.RadiationTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature") [: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 1.6.0+build.1/package.mo): time 0.5161/0.5161, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00124/0.00124, allocations: 173.6 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.493/1.493, allocations: 170.5 MB / 319 MB, free: 9.422 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001886/0.001885, allocations: 106.2 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.488e-06, allocations: 4 kB / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1592, allocations: 61.51 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5999, allocations: 110 MB / 0.6055 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.6003, allocations: 83.95 kB / 0.6056 GB, free: 8.285 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:40:37-40:42:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:40:44-40:49:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:43:37-43:42:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:43:44-43:49:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:46:37-46:42:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:46:44-46:49:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:52:55-52:66:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:54:55-54:66:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:56:58-56:69:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/RadiationTemperature.mo:50:55-50:66:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.1759/0.7762, allocations: 59.65 MB / 0.6639 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002999/0.7766, allocations: 28 kB / 0.6639 GB, free: 12.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003954/0.7806, allocations: 1.336 MB / 0.6652 GB, free: 11.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.013e-05/0.7807, allocations: 13.03 kB / 0.6652 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.7816, allocations: 165.9 kB / 0.6654 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.7852, allocations: 1.459 MB / 0.6668 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.7853, allocations: 20 kB / 0.6668 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.7853, allocations: 32 kB / 0.6668 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008233/0.7862, allocations: 461.7 kB / 0.6673 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.787, allocations: 464.4 kB / 0.6677 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.787, allocations: 3.938 kB / 0.6677 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.7871, allocations: 7.984 kB / 0.6677 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.7871, allocations: 12 kB / 0.6677 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.7921, allocations: 2.565 MB / 0.6702 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.7922, allocations: 62.53 kB / 0.6703 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.891e-05/0.7923, allocations: 48.88 kB / 0.6704 GB, free: 5.883 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.7923, allocations: 4 kB / 0.6704 GB, free: 5.879 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.7924, allocations: 30.56 kB / 0.6704 GB, free: 5.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 4.078e-06/0.7924, allocations: 0 / 0.6704 GB, free: 5.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0005481/0.793, allocations: 255.8 kB / 0.6706 GB, free: 5.582 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.793, allocations: 55.39 kB / 0.6707 GB, free: 5.516 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.7958, allocations: 1.888 MB / 0.6725 GB, free: 3.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.7958, allocations: 29.7 kB / 0.6726 GB, free: 3.594 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.7962, allocations: 468.7 kB / 0.673 GB, free: 3.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.7962, allocations: 23.81 kB / 0.673 GB, free: 3.102 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.7962, allocations: 0 / 0.673 GB, free: 3.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7964, allocations: 327.6 kB / 0.6733 GB, free: 2.777 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.7966, allocations: 148.9 kB / 0.6735 GB, free: 2.633 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.7971, allocations: 460.2 kB / 0.6739 GB, free: 2.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.7974, allocations: 243.7 kB / 0.6741 GB, free: 1.801 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7975, allocations: 0 / 0.6741 GB, free: 1.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009398/0.7984, allocations: 0.6399 MB / 0.6748 GB, free: 1.156 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7984, allocations: 8 kB / 0.6748 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.7985, allocations: 8 kB / 0.6748 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.7985, allocations: 16 kB / 0.6748 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.7988, allocations: 107.8 kB / 0.6749 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.7989, allocations: 19.94 kB / 0.6749 GB, free: 1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.7994, allocations: 67.67 kB / 0.675 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.7995, allocations: 31.94 kB / 0.675 GB, free: 0.9023 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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 9.926e-05/0.7996, allocations: 116.8 kB / 0.6751 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.7998, allocations: 142.1 kB / 0.6753 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.8, allocations: 161.4 kB / 0.6754 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8, allocations: 0 / 0.6754 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8001, allocations: 7.984 kB / 0.6754 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8001, allocations: 1.219 kB / 0.6754 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.801, allocations: 0.7247 MB / 0.6761 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.801, allocations: 0 / 0.6761 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.8011, allocations: 7.938 kB / 0.6761 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8011, allocations: 3.984 kB / 0.6761 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.8011, allocations: 0 / 0.6761 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.8011, allocations: 0 / 0.6761 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8011, allocations: 0 / 0.6761 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003485/0.8015, allocations: 361.8 kB / 0.6765 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.8021, allocations: 0.5656 MB / 0.677 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.8022, allocations: 0 / 0.677 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.8025, allocations: 0 / 0.677 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.8025, allocations: 4 kB / 0.677 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.8026, allocations: 5.312 kB / 0.6771 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001807/0.8044, allocations: 1.422 MB / 0.6784 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009096/0.8053, allocations: 251.4 kB / 0.6787 GB, free: 13.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00139/0.8067, allocations: 0.8534 MB / 0.6795 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.8072, allocations: 308.7 kB / 0.6798 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.8072, allocations: 4 kB / 0.6798 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.8072, allocations: 43.95 kB / 0.6799 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.8088, allocations: 417.2 kB / 0.6803 GB, free: 11.43 MB / 0.4948 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.8123, allocations: 2.081 MB / 0.6823 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.8139, allocations: 1.672 MB / 0.6839 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.8139, allocations: 0 / 0.6839 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of Templates: time 0.3386/1.152, allocations: 15.12 MB / 0.6987 GB, free: 127.5 MB / 0.4948 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.RadiationTemperature.pipe 2>&1)