Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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/Buildings 10.0.0-master/package.mo): time 2.159/2.159, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 185.3 kB / 490.8 MB, free: 1.887 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.000905, allocations: 92.72 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5689/0.5699, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.8431, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7889/1.632, allocations: 158.8 MB / 1.367 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.632, allocations: 76.3 kB / 1.367 GB, free: 17.18 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.07022/1.703, allocations: 18.62 MB / 1.385 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.703, allocations: 8.938 kB / 1.385 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/1.703, allocations: 101.4 kB / 1.385 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/1.707, allocations: 1.087 MB / 1.386 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/1.707, allocations: 10.25 kB / 1.386 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.707, allocations: 44.12 kB / 1.386 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004438/1.707, allocations: 180.2 kB / 1.386 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/1.708, allocations: 341.7 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.708, allocations: 5.156 kB / 1.387 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/1.708, allocations: 5.219 kB / 1.387 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.708, allocations: 7.812 kB / 1.387 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/1.711, allocations: 2.158 MB / 1.389 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/1.711, allocations: 304.8 kB / 1.389 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/1.712, allocations: 145.1 kB / 1.389 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/1.712, allocations: 7.484 kB / 1.389 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/1.712, allocations: 36.48 kB / 1.389 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.414e-06/1.712, allocations: 0 / 1.389 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.001839/1.714, allocations: 0.9334 MB / 1.39 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/1.714, allocations: 54.5 kB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.715, allocations: 0.7562 MB / 1.391 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/1.715, allocations: 31.11 kB / 1.391 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/1.715, allocations: 251 kB / 1.391 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.715, allocations: 109.8 kB / 1.391 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.715, allocations: 3.938 kB / 1.391 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.716, allocations: 393.5 kB / 1.392 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/1.716, allocations: 201.8 kB / 1.392 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/1.716, allocations: 0.5917 MB / 1.393 GB, free: 24.92 MB / 0.8386 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.718, allocations: 1.017 MB / 1.394 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.718, allocations: 3.594 kB / 1.394 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001376/1.72, allocations: 0.7773 MB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.72, allocations: 5.219 kB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/1.72, allocations: 13.72 kB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/1.72, allocations: 56.42 kB / 1.394 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/1.721, allocations: 208.9 kB / 1.395 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/1.722, allocations: 1.323 MB / 1.396 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.723, allocations: 46.52 kB / 1.396 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/1.723, allocations: 46.94 kB / 1.396 GB, free: 22.89 MB / 0.8386 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/1.723, allocations: 168.6 kB / 1.396 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/1.723, allocations: 85.8 kB / 1.396 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/1.724, allocations: 69.39 kB / 1.396 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/1.724, allocations: 2.531 kB / 1.396 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.724, allocations: 1.125 kB / 1.396 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.724, allocations: 0 / 1.396 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/1.726, allocations: 1.126 MB / 1.397 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.726, allocations: 0.875 kB / 1.397 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/1.726, allocations: 86.38 kB / 1.397 GB, free: 22.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/1.726, allocations: 33.38 kB / 1.397 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/1.726, allocations: 7.828 kB / 1.397 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008702/1.727, allocations: 1.299 MB / 1.399 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.727, allocations: 2.594 kB / 1.399 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001042/1.728, allocations: 0.6779 MB / 1.399 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001514/1.73, allocations: 1.219 MB / 1.401 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/1.73, allocations: 211.6 kB / 1.401 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/1.73, allocations: 4.594 kB / 1.401 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/1.731, allocations: 21.28 kB / 1.401 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/1.731, allocations: 26.77 kB / 1.401 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/1.731, allocations: 10.62 kB / 1.401 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001067/1.732, allocations: 0.556 MB / 1.401 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001795/1.734, allocations: 195.4 kB / 1.402 GB, free: 19.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003288/1.734, allocations: 172.4 kB / 1.402 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001244/1.736, allocations: 0.576 MB / 1.402 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.736, allocations: 0 / 1.402 GB, free: 19.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/1.736, allocations: 259.1 kB / 1.403 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/1.737, allocations: 142.3 kB / 1.403 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/1.74, allocations: 1.285 MB / 1.404 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009499/1.741, allocations: 1.074 MB / 1.405 GB, free: 17.31 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.741, allocations: 0.8438 kB / 1.405 GB, free: 17.31 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat does not exist to compare? outputFormat=mat