Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [: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.4972/0.4972, allocations: 94.74 MB / 102 MB, free: 14.79 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001081/0.001082, allocations: 179.5 kB / 125.3 MB, free: 15.98 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.128/1.128, allocations: 170.5 MB / 319 MB, free: 13.5 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001688/0.001689, allocations: 115.8 kB / 381 MB, free: 19.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.105e-06, allocations: 4 kB / 448.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 61.52 MB / 0.4981 GB, free: 8.477 MB / 398.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5515, allocations: 104.4 MB / 0.6 GB, free: 4.102 MB / 414.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5518, allocations: 79.95 kB / 0.6001 GB, free: 4.023 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Conduction/BaseClasses/PartialConstruction.mo:13:38-13:43:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.09295/0.6448, allocations: 30.64 MB / 0.63 GB, free: 5.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.088e-05/0.6449, allocations: 15.94 kB / 0.6301 GB, free: 5.457 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001855/0.6467, allocations: 0.7823 MB / 0.6308 GB, free: 4.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6468, allocations: 10.47 kB / 0.6308 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.6471, allocations: 71.16 kB / 0.6309 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.6488, allocations: 0.7018 MB / 0.6316 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.6489, allocations: 8 kB / 0.6316 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.6489, allocations: 27.94 kB / 0.6316 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004597/0.6494, allocations: 264.8 kB / 0.6319 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.6499, allocations: 286.9 kB / 0.6321 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.65, allocations: 0 / 0.6321 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.65, allocations: 0 / 0.6321 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.65, allocations: 8.562 kB / 0.6322 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.6526, allocations: 1.598 MB / 0.6337 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.6531, allocations: 255.5 kB / 0.634 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.6534, allocations: 152.8 kB / 0.6341 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.6534, allocations: 3.984 kB / 0.6341 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.6535, allocations: 34.97 kB / 0.6341 GB, free: 1.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.6535, allocations: 0 / 0.6341 GB, free: 1.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008901/0.6544, allocations: 417.8 kB / 0.6345 GB, free: 0.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.6544, allocations: 55.41 kB / 0.6346 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6554, allocations: 0.7129 MB / 0.6353 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.6555, allocations: 25.7 kB / 0.6353 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.6556, allocations: 185.4 kB / 0.6355 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.6558, allocations: 90.75 kB / 0.6356 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.6559, allocations: 0 / 0.6356 GB, free: 15.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.6561, allocations: 370.8 kB / 0.6359 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.6565, allocations: 249.1 kB / 0.6362 GB, free: 14.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.657, allocations: 487.9 kB / 0.6366 GB, free: 14.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.6575, allocations: 322.6 kB / 0.6369 GB, free: 14.06 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.6575, allocations: 4 kB / 0.6369 GB, free: 14.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001312/0.6588, allocations: 0.7998 MB / 0.6377 GB, free: 13.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6588, allocations: 8.594 kB / 0.6377 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.6589, allocations: 12.75 kB / 0.6377 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/0.6592, allocations: 85.66 kB / 0.6378 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.6597, allocations: 135.8 kB / 0.638 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.6621, allocations: 2.76 MB / 0.6407 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.6631, allocations: 131.4 kB / 0.6408 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.6632, allocations: 28 kB / 0.6408 GB, free: 9.852 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.6633, allocations: 128.6 kB / 0.6409 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.6634, allocations: 51.34 kB / 0.641 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.6635, allocations: 52.86 kB / 0.641 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6635, allocations: 4 kB / 0.641 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6636, allocations: 4 kB / 0.641 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6636, allocations: 3.984 kB / 0.641 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.6643, allocations: 0.6887 MB / 0.6417 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6643, allocations: 0 / 0.6417 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.6647, allocations: 63.89 kB / 0.6418 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.6649, allocations: 81.56 kB / 0.6419 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.6649, allocations: 4 kB / 0.6419 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.667, allocations: 2.745 MB / 0.6445 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.667, allocations: 0 / 0.6445 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000886/0.6679, allocations: 0.6698 MB / 0.6452 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.6683, allocations: 347.3 kB / 0.6455 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.6684, allocations: 7.984 kB / 0.6455 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.6691, allocations: 68.47 kB / 0.6456 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.6691, allocations: 11.97 kB / 0.6456 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.6692, allocations: 5.781 kB / 0.6456 GB, free: 4.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 0.0006513/0.6698, allocations: 0.5378 MB / 0.6461 GB, free: 4.055 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008381/0.6707, allocations: 251.8 kB / 0.6464 GB, free: 3.809 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.671, allocations: 172.3 kB / 0.6465 GB, free: 3.633 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.672, allocations: 0.6964 MB / 0.6472 GB, free: 2.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.672, allocations: 4 kB / 0.6472 GB, free: 2.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.6725, allocations: 388.2 kB / 0.6476 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.6732, allocations: 138.6 kB / 0.6477 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.6754, allocations: 1.255 MB / 0.649 GB, free: 1.121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.6761, allocations: 1.025 MB / 0.65 GB, free: 76 kB / 462.1 MB Notification: Performance of SimCode: time 4.4e-07/0.6761, allocations: 0 / 0.65 GB, free: 76 kB / 462.1 MB Notification: Performance of Templates: time 0.01443/0.6905, allocations: 7.994 MB / 0.6578 GB, free: 8.234 MB / 478.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)