Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.054/2.054, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001231/0.001231, allocations: 189.7 kB / 490.8 MB, free: 1.926 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.356/1.356, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0009789/0.0009788, allocations: 80.69 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5713/0.5723, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.8241, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6919/1.516, allocations: 161.9 MB / 1.37 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/1.516, allocations: 76.06 kB / 1.37 GB, free: 17.5 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.09543/1.612, allocations: 27.47 MB / 1.397 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.612, allocations: 8.969 kB / 1.397 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005561/1.612, allocations: 78.47 kB / 1.397 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/1.616, allocations: 1.248 MB / 1.398 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/1.616, allocations: 11.48 kB / 1.398 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/1.616, allocations: 29.78 kB / 1.398 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005414/1.617, allocations: 205.7 kB / 1.398 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/1.617, allocations: 341.4 kB / 1.399 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.617, allocations: 0 / 1.399 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/1.617, allocations: 0.875 kB / 1.399 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/1.617, allocations: 6 kB / 1.399 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/1.62, allocations: 1.935 MB / 1.4 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/1.621, allocations: 281 kB / 1.401 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/1.621, allocations: 128.2 kB / 1.401 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/1.621, allocations: 2.344 kB / 1.401 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.621, allocations: 39.05 kB / 1.401 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/1.621, allocations: 0 / 1.401 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0008664/1.622, allocations: 326.3 kB / 1.401 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/1.622, allocations: 61.94 kB / 1.401 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/1.624, allocations: 0.8874 MB / 1.402 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/1.624, allocations: 29.7 kB / 1.402 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/1.624, allocations: 216.1 kB / 1.402 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.624, allocations: 76.75 kB / 1.402 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/1.624, allocations: 0 / 1.402 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.624, allocations: 378.5 kB / 1.403 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/1.624, allocations: 227 kB / 1.403 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/1.625, allocations: 0.4894 MB / 1.403 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/1.625, allocations: 301.5 kB / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.625, allocations: 0 / 1.404 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001052/1.626, allocations: 0.7408 MB / 1.404 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.626, allocations: 4.156 kB / 1.404 GB, free: 20.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.626, allocations: 15.91 kB / 1.404 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/1.627, allocations: 55.64 kB / 1.405 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/1.627, allocations: 137.8 kB / 1.405 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/1.628, allocations: 1.417 MB / 1.406 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.629, allocations: 135.4 kB / 1.406 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/1.629, allocations: 27.94 kB / 1.406 GB, free: 19.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001408/1.63, allocations: 128.6 kB / 1.406 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.63, allocations: 63.16 kB / 1.406 GB, free: 18.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/1.63, allocations: 61.77 kB / 1.406 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.63, allocations: 4 kB / 1.406 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.63, allocations: 0 / 1.406 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.63, allocations: 0 / 1.406 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/1.631, allocations: 0.6323 MB / 1.407 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.631, allocations: 0 / 1.407 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/1.631, allocations: 43.97 kB / 1.407 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/1.631, allocations: 48.06 kB / 1.407 GB, free: 18.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/1.631, allocations: 4 kB / 1.407 GB, free: 18.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008821/1.632, allocations: 1.399 MB / 1.409 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.632, allocations: 7.938 kB / 1.409 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006059/1.633, allocations: 0.5506 MB / 1.409 GB, free: 16.36 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007804/1.634, allocations: 1.101 MB / 1.41 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/1.634, allocations: 346.4 kB / 1.41 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.634, allocations: 15.73 kB / 1.41 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/1.635, allocations: 55.83 kB / 1.411 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/1.635, allocations: 7.984 kB / 1.411 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/1.635, allocations: 7.938 kB / 1.411 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007769/1.636, allocations: 0.6713 MB / 1.411 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001388/1.637, allocations: 195.4 kB / 1.411 GB, free: 14.29 MB / 0.8386 GB 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 (17): * Single equations (assignments): 16 * 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.0003145/1.637, allocations: 169.6 kB / 1.412 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007245/1.638, allocations: 0.5353 MB / 1.412 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.638, allocations: 2.25 kB / 1.412 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/1.638, allocations: 237 kB / 1.412 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/1.639, allocations: 144.5 kB / 1.412 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/1.641, allocations: 1.254 MB / 1.414 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008617/1.642, allocations: 1.068 MB / 1.415 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of SimCode: time 2.505e-06/1.642, allocations: 0 / 1.415 GB, free: 11.17 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat does not exist to compare? outputFormat=mat