Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.118/2.118, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001512/0.001511, allocations: 175.9 kB / 487 MB, free: 5.398 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.449/1.449, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.001232/0.001232, allocations: 94.08 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6654/0.6667, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.9431, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.308/5.251, allocations: 2.199 GB / 3.404 GB, free: 99.57 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/5.252, allocations: 90.16 kB / 3.404 GB, free: 99.53 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 982 * Number of variables: 982 Notification: Performance of Generate backend data structure: time 2.944/8.196, allocations: 0.9468 GB / 4.351 GB, free: 49.26 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/8.196, allocations: 8 kB / 4.351 GB, free: 49.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008229/8.204, allocations: 1.281 MB / 4.352 GB, free: 47.96 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/8.216, allocations: 5.549 MB / 4.357 GB, free: 42.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/8.217, allocations: 120 kB / 4.358 GB, free: 42.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009973/8.218, allocations: 223.9 kB / 4.358 GB, free: 42.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007168/8.225, allocations: 4.435 MB / 4.362 GB, free: 37.58 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007561/8.232, allocations: 4.606 MB / 4.367 GB, free: 32.81 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/8.232, allocations: 7.938 kB / 4.367 GB, free: 32.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005563/8.233, allocations: 11.91 kB / 4.367 GB, free: 32.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/8.233, allocations: 179.3 kB / 4.367 GB, free: 32.61 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/8.263, allocations: 19.49 MB / 4.386 GB, free: 12.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004234/8.267, allocations: 3.011 MB / 4.389 GB, free: 9.426 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/8.269, allocations: 1.63 MB / 4.39 GB, free: 7.789 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/8.271, allocations: 1.872 MB / 4.392 GB, free: 5.527 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002457/8.273, allocations: 1.781 MB / 4.394 GB, free: 3.699 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 4.038e-06/8.273, allocations: 3.938 kB / 4.394 GB, free: 3.695 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.4448/8.718, allocations: 3.705 MB / 4.398 GB, free: 341.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/8.718, allocations: 290.9 kB / 4.398 GB, free: 341 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007333/8.725, allocations: 3.054 MB / 4.401 GB, free: 340.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00096/8.726, allocations: 29.3 kB / 4.401 GB, free: 340.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002163/8.729, allocations: 1.411 MB / 4.402 GB, free: 340.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002373/8.731, allocations: 0.8683 MB / 4.403 GB, free: 340.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/8.731, allocations: 0 / 4.403 GB, free: 340.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002102/8.732, allocations: 422.1 kB / 4.403 GB, free: 339.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/8.735, allocations: 1.313 MB / 4.405 GB, free: 339.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/8.738, allocations: 1.977 MB / 4.407 GB, free: 339.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009551/8.748, allocations: 2.328 MB / 4.409 GB, free: 339.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/8.748, allocations: 6.188 kB / 4.409 GB, free: 339.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01259/8.76, allocations: 4.393 MB / 4.413 GB, free: 338.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/8.762, allocations: 7.3 MB / 4.42 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/8.762, allocations: 15.75 kB / 4.42 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/8.762, allocations: 117.9 kB / 4.421 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/8.767, allocations: 0.7987 MB / 4.421 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/8.769, allocations: 2.099 MB / 4.423 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/8.774, allocations: 421.8 kB / 4.424 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/8.774, allocations: 145.3 kB / 4.424 GB, free: 329.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/8.774, allocations: 3.969 kB / 4.424 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01103/8.785, allocations: 4.022 MB / 4.428 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.311e-05/8.785, allocations: 17.22 kB / 4.428 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/8.786, allocations: 110.9 kB / 4.428 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/8.79, allocations: 0.7877 MB / 4.429 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/8.792, allocations: 1.513 MB / 4.43 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/8.796, allocations: 384.4 kB / 4.431 GB, free: 327.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/8.796, allocations: 142.3 kB / 4.431 GB, free: 327.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008914/8.797, allocations: 179.4 kB / 4.431 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000863/8.798, allocations: 362 kB / 4.431 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/8.811, allocations: 4.561 MB / 4.436 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/8.811, allocations: 31.8 kB / 4.436 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/8.811, allocations: 2.531 kB / 4.436 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009738/8.82, allocations: 3.657 MB / 4.439 GB, free: 326.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/8.842, allocations: 8.716 MB / 4.448 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/8.842, allocations: 0 / 4.448 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003623/8.846, allocations: 0.6307 MB / 4.448 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005768/8.846, allocations: 92.34 kB / 4.448 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003305/8.846, allocations: 58.77 kB / 4.449 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/8.848, allocations: 2.084 MB / 4.451 GB, free: 324.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/8.848, allocations: 0 / 4.451 GB, free: 324.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01361/8.862, allocations: 6.047 MB / 4.456 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01632/8.878, allocations: 8.508 MB / 4.465 GB, free: 322.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/8.881, allocations: 1.056 MB / 4.466 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/8.882, allocations: 10.78 kB / 4.466 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00433/8.887, allocations: 282.1 kB / 4.466 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/8.887, allocations: 153.4 kB / 4.466 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004266/8.887, allocations: 135.6 kB / 4.466 GB, free: 322.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003739/8.891, allocations: 2.355 MB / 4.469 GB, free: 322.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0103/8.902, allocations: 2.741 MB / 4.471 GB, free: 322.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002684/8.904, allocations: 1.646 MB / 4.473 GB, free: 322.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008246/8.912, allocations: 5.424 MB / 4.478 GB, free: 321.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/8.913, allocations: 4.953 kB / 4.478 GB, free: 321.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/8.915, allocations: 1.718 MB / 4.48 GB, free: 321.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008442/8.923, allocations: 1.694 MB / 4.482 GB, free: 321.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/8.942, allocations: 8.028 MB / 4.489 GB, free: 320.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004348/8.947, allocations: 3.617 MB / 4.493 GB, free: 319.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.71e-07/8.947, allocations: 0 / 4.493 GB, free: 319.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat does not exist to compare? outputFormat=mat