Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",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.011/2.011, allocations: 390.4 MB / 397.7 MB, free: 1.891 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 177.3 kB / 490.8 MB, free: 7.5 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.3 MB / 0.7863 GB, free: 248 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 92.67 kB / 0.9264 GB, free: 0.6328 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.59/0.5911, allocations: 149.1 MB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.8923, allocations: 143 MB / 1.212 GB, free: 10.5 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7201/1.612, allocations: 162.7 MB / 1.371 GB, free: 15.23 MB / 0.8467 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.613, allocations: 71.97 kB / 1.371 GB, free: 15.16 MB / 0.8467 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.1498/1.763, allocations: 42.65 MB / 1.412 GB, free: 4.262 MB / 0.8779 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.763, allocations: 12 kB / 1.412 GB, free: 4.25 MB / 0.8779 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/1.764, allocations: 181.8 kB / 1.412 GB, free: 4.066 MB / 0.8779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/1.77, allocations: 2.503 MB / 1.415 GB, free: 1.516 MB / 0.8779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/1.77, allocations: 16 kB / 1.415 GB, free: 1.5 MB / 0.8779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/1.771, allocations: 52 kB / 1.415 GB, free: 1.449 MB / 0.8779 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007693/1.771, allocations: 386.4 kB / 1.415 GB, free: 1.07 MB / 0.8779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/1.772, allocations: 0.611 MB / 1.416 GB, free: 416 kB / 0.8779 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.772, allocations: 0 / 1.416 GB, free: 416 kB / 0.8779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/1.772, allocations: 4 kB / 1.416 GB, free: 412 kB / 0.8779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/1.772, allocations: 12 kB / 1.416 GB, free: 400 kB / 0.8779 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/1.777, allocations: 3.825 MB / 1.42 GB, free: 12.34 MB / 0.8936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/1.778, allocations: 0.4892 MB / 1.42 GB, free: 11.85 MB / 0.8936 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/1.779, allocations: 224.8 kB / 1.42 GB, free: 11.62 MB / 0.8936 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/1.779, allocations: 7.984 kB / 1.42 GB, free: 11.62 MB / 0.8936 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/1.779, allocations: 34.56 kB / 1.42 GB, free: 11.57 MB / 0.8936 GB Notification: Performance of pre-optimization done (n=37): time 2.325e-06/1.779, allocations: 0 / 1.42 GB, free: 11.57 MB / 0.8936 GB Notification: Performance of matching and sorting (n=37): time 0.001286/1.78, allocations: 0.6651 MB / 1.421 GB, free: 10.89 MB / 0.8936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/1.78, allocations: 59.16 kB / 1.421 GB, free: 10.82 MB / 0.8936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/1.782, allocations: 1.46 MB / 1.423 GB, free: 9.363 MB / 0.8936 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/1.782, allocations: 29.64 kB / 1.423 GB, free: 9.328 MB / 0.8936 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/1.783, allocations: 406.1 kB / 1.423 GB, free: 8.926 MB / 0.8936 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/1.783, allocations: 134 kB / 1.423 GB, free: 8.793 MB / 0.8936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/1.783, allocations: 0 / 1.423 GB, free: 8.793 MB / 0.8936 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.783, allocations: 357.9 kB / 1.423 GB, free: 8.438 MB / 0.8936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/1.784, allocations: 374.4 kB / 1.424 GB, free: 8.07 MB / 0.8936 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/1.785, allocations: 1.011 MB / 1.425 GB, free: 6.742 MB / 0.8936 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/1.786, allocations: 0.5305 MB / 1.425 GB, free: 6.211 MB / 0.8936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.786, allocations: 4 kB / 1.425 GB, free: 6.207 MB / 0.8936 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002538/1.788, allocations: 1.474 MB / 1.427 GB, free: 4.715 MB / 0.8936 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.788, allocations: 4 kB / 1.427 GB, free: 4.711 MB / 0.8936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/1.788, allocations: 24.75 kB / 1.427 GB, free: 4.688 MB / 0.8936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/1.789, allocations: 189.9 kB / 1.427 GB, free: 4.496 MB / 0.8936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/1.79, allocations: 283.5 kB / 1.427 GB, free: 4.219 MB / 0.8936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/1.793, allocations: 3.438 MB / 1.431 GB, free: 0.5508 MB / 0.8936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.795, allocations: 202.3 kB / 1.431 GB, free: 360 kB / 0.8936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.795, allocations: 64 kB / 1.431 GB, free: 296 kB / 0.8936 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001848/1.795, allocations: 164.4 kB / 1.431 GB, free: 116 kB / 0.8936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/1.795, allocations: 142.3 kB / 1.431 GB, free: 15.97 MB / 0.9092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/1.796, allocations: 146.8 kB / 1.431 GB, free: 15.82 MB / 0.9092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.796, allocations: 0 / 1.431 GB, free: 15.82 MB / 0.9092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.796, allocations: 4 kB / 1.431 GB, free: 15.82 MB / 0.9092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.796, allocations: 0 / 1.431 GB, free: 15.82 MB / 0.9092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/1.797, allocations: 1.067 MB / 1.432 GB, free: 14.71 MB / 0.9092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.797, allocations: 0 / 1.432 GB, free: 14.71 MB / 0.9092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/1.798, allocations: 71.89 kB / 1.432 GB, free: 14.64 MB / 0.9092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/1.798, allocations: 161.6 kB / 1.433 GB, free: 14.48 MB / 0.9092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/1.798, allocations: 8 kB / 1.433 GB, free: 14.47 MB / 0.9092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/1.802, allocations: 3.411 MB / 1.436 GB, free: 10.83 MB / 0.9092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.802, allocations: 0 / 1.436 GB, free: 10.83 MB / 0.9092 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001562/1.803, allocations: 1.007 MB / 1.437 GB, free: 9.797 MB / 0.9092 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001896/1.805, allocations: 1.69 MB / 1.438 GB, free: 8.078 MB / 0.9092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.807, allocations: 0.9639 MB / 1.439 GB, free: 6.973 MB / 0.9092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/1.807, allocations: 7.984 kB / 1.439 GB, free: 6.965 MB / 0.9092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/1.808, allocations: 67.81 kB / 1.44 GB, free: 6.898 MB / 0.9092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/1.808, allocations: 19.97 kB / 1.44 GB, free: 6.879 MB / 0.9092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/1.808, allocations: 11.94 kB / 1.44 GB, free: 6.867 MB / 0.9092 GB Notification: Performance of sort global known variables: time 0.001746/1.81, allocations: 1.069 MB / 1.441 GB, free: 5.805 MB / 0.9092 GB Notification: Performance of remove unused functions: time 0.002352/1.812, allocations: 463.5 kB / 1.441 GB, free: 5.352 MB / 0.9092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (conMul.lay[2].T[1],conMul.lay[2].T[2],conMul.lay[2].T[3],con.T[1],con.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/1.812, allocations: 222.1 kB / 1.441 GB, free: 5.121 MB / 0.9092 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.814, allocations: 1.032 MB / 1.442 GB, free: 4.074 MB / 0.9092 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.814, allocations: 4.188 kB / 1.442 GB, free: 4.07 MB / 0.9092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006907/1.815, allocations: 463.4 kB / 1.443 GB, free: 3.598 MB / 0.9092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/1.816, allocations: 318.1 kB / 1.443 GB, free: 3.289 MB / 0.9092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/1.821, allocations: 2.311 MB / 1.445 GB, free: 0.9336 MB / 0.9092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.822, allocations: 1.496 MB / 1.447 GB, free: 15.41 MB / 0.9248 GB Notification: Performance of SimCode: time 5.21e-07/1.822, allocations: 0 / 1.447 GB, free: 15.41 MB / 0.9248 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_res.mat does not exist to compare? outputFormat=mat