Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7762/0.7762, allocations: 141.8 MB / 149.1 MB, free: 4.535 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 194.8 kB / 181.9 MB, free: 184 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 221.3 MB / 436 MB, free: 9.316 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009544, allocations: 95.69 kB / 0.507 GB, free: 24.3 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 277.9 kB / 0.5884 GB, free: 12.34 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1931/0.195, allocations: 89.64 MB / 0.676 GB, free: 2.609 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.5837, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.7023, allocations: 110.4 MB / 0.8646 GB, free: 2.398 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.7026, allocations: 84.69 kB / 0.8646 GB, free: 2.32 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01085/0.7135, allocations: 3.988 MB / 0.8685 GB, free: 14.29 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.7135, allocations: 9 kB / 0.8686 GB, free: 14.29 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.046e-05/0.7136, allocations: 23.72 kB / 0.8686 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.714, allocations: 231.3 kB / 0.8688 GB, free: 14 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.7141, allocations: 4 kB / 0.8688 GB, free: 13.99 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.7141, allocations: 16.44 kB / 0.8688 GB, free: 13.98 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002148/0.7143, allocations: 108 kB / 0.8689 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.7146, allocations: 180.6 kB / 0.8691 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7146, allocations: 4 kB / 0.8691 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.7147, allocations: 0 / 0.8691 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.7147, allocations: 0 / 0.8691 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.7158, allocations: 0.7149 MB / 0.8698 GB, free: 12.9 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.7161, allocations: 146.5 kB / 0.8699 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.7162, allocations: 68.81 kB / 0.87 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.7162, allocations: 4 kB / 0.87 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.7162, allocations: 34.56 kB / 0.87 GB, free: 12.63 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.7162, allocations: 0 / 0.87 GB, free: 12.63 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0003523/0.7166, allocations: 164.2 kB / 0.8702 GB, free: 12.47 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7166, allocations: 59.34 kB / 0.8702 GB, free: 12.4 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.7168, allocations: 185.6 kB / 0.8704 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.7169, allocations: 29.7 kB / 0.8705 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.717, allocations: 132 kB / 0.8706 GB, free: 12.04 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.717, allocations: 43.45 kB / 0.8706 GB, free: 12 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.717, allocations: 0 / 0.8706 GB, free: 12 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7172, allocations: 322.8 kB / 0.8709 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.7174, allocations: 159.9 kB / 0.8711 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.7177, allocations: 197.1 kB / 0.8713 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.7179, allocations: 183.8 kB / 0.8714 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7179, allocations: 0 / 0.8714 GB, free: 11.12 MB / 0.5419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005947/0.7185, allocations: 461.2 kB / 0.8719 GB, free: 10.67 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7186, allocations: 4 kB / 0.8719 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.7186, allocations: 160 / 0.8719 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7186, allocations: 8 kB / 0.8719 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.7189, allocations: 47.91 kB / 0.8719 GB, free: 10.61 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.7189, allocations: 7.906 kB / 0.8719 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.7191, allocations: 31.67 kB / 0.872 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.7192, allocations: 12 kB / 0.872 GB, free: 10.56 MB / 0.5419 GB Warning: Assuming fixed start value for the following 5 variables: body.T[5]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[4]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[3]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[2]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[1]:VARIABLE(min = max(0.0, 0.0) start = body.T_start unit = "K" nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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.0001921/0.7194, allocations: 134.1 kB / 0.8721 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.7194, allocations: 19.75 kB / 0.8721 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.7195, allocations: 21.39 kB / 0.8722 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7195, allocations: 5.781 kB / 0.8722 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7195, allocations: 7.906 kB / 0.8722 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7195, allocations: 0 / 0.8722 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.7197, allocations: 186.2 kB / 0.8723 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7197, allocations: 0 / 0.8723 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.72, allocations: 35.97 kB / 0.8724 GB, free: 10.12 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.72, allocations: 0 / 0.8724 GB, free: 10.12 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.72, allocations: 8 kB / 0.8724 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.72, allocations: 3.906 kB / 0.8724 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7201, allocations: 4 kB / 0.8724 GB, free: 10.1 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004122/0.7205, allocations: 336 kB / 0.8727 GB, free: 9.758 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006448/0.7211, allocations: 0.7921 MB / 0.8735 GB, free: 8.949 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.7212, allocations: 88.92 kB / 0.8736 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.7212, allocations: 4 kB / 0.8736 GB, free: 8.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.7214, allocations: 11.98 kB / 0.8736 GB, free: 8.828 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.7215, allocations: 0 / 0.8736 GB, free: 8.828 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.7215, allocations: 7.906 kB / 0.8736 GB, free: 8.82 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001227/0.7216, allocations: 140.5 kB / 0.8737 GB, free: 8.684 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009552/0.7226, allocations: 51.94 kB / 0.8738 GB, free: 8.633 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001905/0.7228, allocations: 116 kB / 0.8739 GB, free: 8.512 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.7233, allocations: 381.5 kB / 0.8743 GB, free: 8.133 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7233, allocations: 0 / 0.8743 GB, free: 8.133 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.7234, allocations: 59.97 kB / 0.8743 GB, free: 8.074 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.7237, allocations: 33.42 kB / 0.8743 GB, free: 8.039 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.7248, allocations: 0.588 MB / 0.8749 GB, free: 7.426 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.7253, allocations: 0.7739 MB / 0.8757 GB, free: 6.629 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.7253, allocations: 0 / 0.8757 GB, free: 6.629 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)