Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",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.034/2.034, 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.001128/0.001128, allocations: 181.3 kB / 487 MB, free: 5.371 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.362/1.362, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.0009871/0.0009872, allocations: 95.72 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5938/0.5948, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.8449, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.661/1.506, allocations: 158.8 MB / 1.36 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/1.506, allocations: 74.38 kB / 1.36 GB, free: 14.7 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.1157/1.622, allocations: 32.43 MB / 1.392 GB, free: 5.41 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.622, allocations: 9 kB / 1.392 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/1.622, allocations: 106.7 kB / 1.392 GB, free: 5.297 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/1.626, allocations: 2.082 MB / 1.394 GB, free: 3.676 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/1.626, allocations: 12 kB / 1.394 GB, free: 3.664 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/1.626, allocations: 31.91 kB / 1.394 GB, free: 3.633 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005515/1.627, allocations: 317.6 kB / 1.395 GB, free: 3.402 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/1.628, allocations: 0.5057 MB / 1.395 GB, free: 2.953 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.628, allocations: 0 / 1.395 GB, free: 2.953 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/1.628, allocations: 4 kB / 1.395 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.628, allocations: 15.98 kB / 1.395 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/1.631, allocations: 3.064 MB / 1.398 GB, free: 264 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/1.632, allocations: 407.3 kB / 1.399 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/1.632, allocations: 192.6 kB / 1.399 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/1.632, allocations: 4 kB / 1.399 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.632, allocations: 38.3 kB / 1.399 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/1.632, allocations: 0 / 1.399 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0008522/1.633, allocations: 0.496 MB / 1.399 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/1.633, allocations: 51.41 kB / 1.399 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.634, allocations: 1.247 MB / 1.4 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/1.635, allocations: 33.64 kB / 1.401 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/1.635, allocations: 265.5 kB / 1.401 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/1.635, allocations: 105.7 kB / 1.401 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/1.635, allocations: 0 / 1.401 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.635, allocations: 336.6 kB / 1.401 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/1.636, allocations: 284.7 kB / 1.401 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/1.636, allocations: 0.5674 MB / 1.402 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/1.637, allocations: 391.8 kB / 1.402 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.637, allocations: 4 kB / 1.402 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001919/1.639, allocations: 1.17 MB / 1.404 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.639, allocations: 11.94 kB / 1.404 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.639, allocations: 8 kB / 1.404 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/1.64, allocations: 458.9 kB / 1.404 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/1.64, allocations: 106.8 kB / 1.404 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/1.646, allocations: 4.683 MB / 1.409 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.649, allocations: 262.9 kB / 1.409 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/1.649, allocations: 35.12 kB / 1.409 GB, free: 6.957 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002064/1.649, allocations: 141.5 kB / 1.409 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/1.649, allocations: 90.94 kB / 1.409 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/1.649, allocations: 99.95 kB / 1.409 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/1.649, allocations: 0 / 1.409 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.649, allocations: 4 kB / 1.409 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.649, allocations: 3.906 kB / 1.409 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/1.65, allocations: 1.071 MB / 1.41 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.65, allocations: 0 / 1.41 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/1.651, allocations: 87.77 kB / 1.41 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/1.651, allocations: 48.2 kB / 1.41 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/1.651, allocations: 15.42 kB / 1.41 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/1.652, allocations: 1.439 MB / 1.412 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.652, allocations: 0 / 1.412 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009817/1.653, allocations: 0.8168 MB / 1.413 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001417/1.655, allocations: 1.469 MB / 1.414 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/1.656, allocations: 0.946 MB / 1.415 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.656, allocations: 18.36 kB / 1.415 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.657, allocations: 127.7 kB / 1.415 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/1.657, allocations: 17.84 kB / 1.415 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.657, allocations: 10.31 kB / 1.415 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001269/1.658, allocations: 0.9276 MB / 1.416 GB, free: 448 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002061/1.66, allocations: 0.5656 MB / 1.417 GB, free: 15.87 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.0003743/1.661, allocations: 223.5 kB / 1.417 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001632/1.662, allocations: 0.8344 MB / 1.418 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.662, allocations: 3.938 kB / 1.418 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/1.663, allocations: 314 kB / 1.418 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/1.664, allocations: 254.7 kB / 1.418 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/1.667, allocations: 2.024 MB / 1.42 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.668, allocations: 1.249 MB / 1.421 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/1.668, allocations: 4 kB / 1.421 GB, free: 11.42 MB / 0.8542 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat does not exist to compare? outputFormat=mat