Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001083/0.001083, allocations: 180.3 kB / 487 MB, free: 5.375 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.468/1.468, allocations: 221.3 MB / 0.7819 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 98.36 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5795/0.5805, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.8529, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7228/1.576, allocations: 161.1 MB / 1.363 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/1.576, allocations: 72.5 kB / 1.363 GB, free: 13.45 MB / 0.8073 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.0847/1.661, allocations: 27.47 MB / 1.39 GB, free: 7.344 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.661, allocations: 8 kB / 1.39 GB, free: 7.336 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/1.661, allocations: 79 kB / 1.39 GB, free: 7.258 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/1.663, allocations: 1.245 MB / 1.391 GB, free: 6.262 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/1.663, allocations: 8 kB / 1.391 GB, free: 6.254 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/1.663, allocations: 27.91 kB / 1.391 GB, free: 6.227 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003219/1.663, allocations: 212.3 kB / 1.391 GB, free: 6.082 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/1.664, allocations: 340.3 kB / 1.391 GB, free: 5.789 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.664, allocations: 0 / 1.391 GB, free: 5.789 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/1.664, allocations: 0 / 1.391 GB, free: 5.789 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.664, allocations: 8 kB / 1.391 GB, free: 5.781 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/1.666, allocations: 1.935 MB / 1.393 GB, free: 4.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/1.667, allocations: 280.2 kB / 1.394 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/1.667, allocations: 131 kB / 1.394 GB, free: 3.754 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/1.667, allocations: 4 kB / 1.394 GB, free: 3.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/1.667, allocations: 33.62 kB / 1.394 GB, free: 3.711 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/1.667, allocations: 0 / 1.394 GB, free: 3.711 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0005634/1.667, allocations: 332 kB / 1.394 GB, free: 3.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/1.667, allocations: 55.41 kB / 1.394 GB, free: 3.363 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.668, allocations: 0.8954 MB / 1.395 GB, free: 2.688 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/1.668, allocations: 25.7 kB / 1.395 GB, free: 2.656 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/1.669, allocations: 212.7 kB / 1.395 GB, free: 2.469 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/1.669, allocations: 73.06 kB / 1.395 GB, free: 2.406 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/1.669, allocations: 0 / 1.395 GB, free: 2.406 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.669, allocations: 373.7 kB / 1.396 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/1.669, allocations: 231.4 kB / 1.396 GB, free: 1.891 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/1.67, allocations: 496.2 kB / 1.396 GB, free: 1.344 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/1.67, allocations: 298.2 kB / 1.397 GB, free: 1.117 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.67, allocations: 4 kB / 1.397 GB, free: 1.113 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001038/1.671, allocations: 0.7467 MB / 1.397 GB, free: 492 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.671, allocations: 8.906 kB / 1.397 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.671, allocations: 11.94 kB / 1.397 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/1.671, allocations: 59.27 kB / 1.397 GB, free: 416 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/1.672, allocations: 134.7 kB / 1.398 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/1.673, allocations: 1.409 MB / 1.399 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/1.674, allocations: 131.3 kB / 1.399 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/1.674, allocations: 31.53 kB / 1.399 GB, free: 14.68 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.000135/1.674, allocations: 127.8 kB / 1.399 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.674, allocations: 63.16 kB / 1.399 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/1.675, allocations: 69.7 kB / 1.399 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/1.675, allocations: 0 / 1.399 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/1.675, allocations: 4 kB / 1.399 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.675, allocations: 7.984 kB / 1.399 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/1.675, allocations: 0.6212 MB / 1.4 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.675, allocations: 0 / 1.4 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/1.676, allocations: 51.53 kB / 1.4 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/1.676, allocations: 43.06 kB / 1.4 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/1.676, allocations: 4 kB / 1.4 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/1.677, allocations: 1.404 MB / 1.401 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.677, allocations: 0 / 1.401 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006455/1.678, allocations: 0.5557 MB / 1.402 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001051/1.679, allocations: 1.092 MB / 1.403 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/1.679, allocations: 352.9 kB / 1.403 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.937e-05/1.679, allocations: 11.92 kB / 1.403 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/1.68, allocations: 63.77 kB / 1.403 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/1.68, allocations: 7.984 kB / 1.403 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/1.68, allocations: 7.438 kB / 1.403 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0008371/1.681, allocations: 0.6645 MB / 1.404 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001261/1.682, allocations: 191 kB / 1.404 GB, free: 9.84 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.0003156/1.682, allocations: 177.1 kB / 1.404 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000845/1.683, allocations: 0.5408 MB / 1.405 GB, free: 9.211 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.683, allocations: 0 / 1.405 GB, free: 9.211 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/1.683, allocations: 229.1 kB / 1.405 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/1.684, allocations: 149.5 kB / 1.405 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/1.686, allocations: 1.264 MB / 1.407 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/1.687, allocations: 1.076 MB / 1.408 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.687, allocations: 0 / 1.408 GB, free: 6.684 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat does not exist to compare? outputFormat=mat