Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Examples.ReactorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package LibRAS with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(LibRAS.Examples.ReactorTest,fileNamePrefix="LibRAS_LibRAS_Examples_ReactorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Examples.ReactorTest,fileNamePrefix="LibRAS_LibRAS_Examples_ReactorTest",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/Complex 3.2.2+maint.om/package.mo): time 0.0009515/0.0009515, allocations: 196.2 kB / 7.848 MB, free: 2.465 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.02223/0.02223, allocations: 5.423 MB / 13.69 MB, free: 2.301 MB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9683/0.9683, allocations: 194.2 MB / 209.6 MB, free: 1.961 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001652, allocations: 113.4 kB / 255.8 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0837/0.08538, allocations: 51.87 MB / 307.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07156/0.157, allocations: 45.74 MB / 353.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6115/0.7685, allocations: 385.4 MB / 0.7215 GB, free: 101.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.7688, allocations: 78.53 kB / 0.7215 GB, free: 101.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1429 * Number of variables: 1429 Notification: Performance of Generate backend data structure: time 1.272/2.041, allocations: 483.3 MB / 1.194 GB, free: 30.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/2.041, allocations: 7.781 kB / 1.194 GB, free: 30.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/2.045, allocations: 0.7672 MB / 1.194 GB, free: 29.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007894/2.053, allocations: 4.194 MB / 1.198 GB, free: 28.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/2.053, allocations: 434.3 kB / 1.199 GB, free: 28.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/2.054, allocations: 316.9 kB / 1.199 GB, free: 28.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02328/2.078, allocations: 17.54 MB / 1.216 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/2.094, allocations: 11.04 MB / 1.227 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.445e-05/2.094, allocations: 10.88 kB / 1.227 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007974/2.095, allocations: 6.812 kB / 1.227 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/2.095, allocations: 396.4 kB / 1.227 GB, free: 28.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06595/2.161, allocations: 42.76 MB / 1.269 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/2.172, allocations: 7.055 MB / 1.276 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006898/2.179, allocations: 6.152 MB / 1.282 GB, free: 5.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03309/2.212, allocations: 17.96 MB / 1.3 GB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.143e-05/2.212, allocations: 103.8 kB / 1.3 GB, free: 7.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=667): time 9.698e-06/2.212, allocations: 0 / 1.3 GB, free: 7.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=690): time 0.3003/2.512, allocations: 30.52 MB / 1.329 GB, free: 73.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/2.513, allocations: 228.3 kB / 1.33 GB, free: 73.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/2.517, allocations: 3.304 MB / 1.333 GB, free: 73.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007887/2.517, allocations: 31.8 kB / 1.333 GB, free: 73.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/2.518, allocations: 1.918 MB / 1.335 GB, free: 71.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001702/2.52, allocations: 2.342 MB / 1.337 GB, free: 70.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/2.521, allocations: 0 / 1.337 GB, free: 70.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002954/2.521, allocations: 0.6494 MB / 1.338 GB, free: 70.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006919/2.528, allocations: 5.81 MB / 1.343 GB, free: 70.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007712/2.536, allocations: 8.154 MB / 1.351 GB, free: 67.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/2.547, allocations: 7.557 MB / 1.359 GB, free: 67.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/2.547, allocations: 22.97 kB / 1.359 GB, free: 67.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02428/2.572, allocations: 15.72 MB / 1.374 GB, free: 66.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004473/2.576, allocations: 31.53 MB / 1.405 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/2.576, allocations: 72.19 kB / 1.405 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/2.579, allocations: 0.6949 MB / 1.406 GB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01878/2.598, allocations: 3.231 MB / 1.409 GB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/2.602, allocations: 4.383 MB / 1.413 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008698/2.611, allocations: 341.4 kB / 1.413 GB, free: 31.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/2.613, allocations: 0.5434 MB / 1.414 GB, free: 31.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/2.613, allocations: 3.188 kB / 1.414 GB, free: 31.76 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02507/2.638, allocations: 15.16 MB / 1.429 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/2.638, allocations: 72.06 kB / 1.429 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/2.64, allocations: 0.561 MB / 1.429 GB, free: 31.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01917/2.66, allocations: 3.055 MB / 1.432 GB, free: 31.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007002/2.667, allocations: 5.284 MB / 1.438 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008572/2.675, allocations: 328.7 kB / 1.438 GB, free: 28.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/2.678, allocations: 0.5396 MB / 1.438 GB, free: 28.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 10 (aerob1.regularFlow[1],aerob1.regularFlow[2],bufferTank.regularFlow[1],bufferTank.regularFlow[2],bufferTank.regularFlow[3],bufferTank.inFlow[3],bufferTank.inFlow[2],bufferTank.inFlow[1],aerob1.inFlow[2],aerob1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1055): * Single equations (assignments): 1052 * 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: 2 * 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: 1 {(3,100.0%) 9} * Non-linear torn systems: 1 {4 17} Notification: Performance of prepare postOptimizeDAE: time 0.003338/2.681, allocations: 347.4 kB / 1.439 GB, free: 28.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/2.683, allocations: 0.539 MB / 1.439 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02222/2.705, allocations: 13.43 MB / 1.452 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/2.705, allocations: 63.19 kB / 1.452 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/2.705, allocations: 6.094 kB / 1.452 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.582e-05/2.705, allocations: 33.09 kB / 1.452 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0341/2.739, allocations: 21.01 MB / 1.473 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/2.74, allocations: 4 kB / 1.473 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01594/2.755, allocations: 2.365 MB / 1.475 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/2.757, allocations: 472.3 kB / 1.476 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001945/2.759, allocations: 122.5 kB / 1.476 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1345/2.894, allocations: 3.557 MB / 1.479 GB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/2.894, allocations: 7.641 kB / 1.479 GB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02611/2.92, allocations: 19.92 MB / 1.499 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03308/2.953, allocations: 28.45 MB / 1.527 GB, free: 64.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003766/2.957, allocations: 1.653 MB / 1.528 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/2.958, allocations: 37.16 kB / 1.528 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00493/2.963, allocations: 263.3 kB / 1.528 GB, free: 63.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000921/2.964, allocations: 389.9 kB / 1.529 GB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007324/2.965, allocations: 302.7 kB / 1.529 GB, free: 63.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002915/2.968, allocations: 2.377 MB / 1.531 GB, free: 63.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01225/2.98, allocations: 3.704 MB / 1.535 GB, free: 63.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 52 (aerob1.mC_S_scaled[1],aerob1.mC_S_scaled[2],aerob1.mC_S_scaled[3],aerob1.mC_S_scaled[4],aerob1.mC_S_scaled[5],aerob1.mC_S_scaled[6],aerob1.mC_S_scaled[7],aerob1.mC_S_scaled[8],aerob1.mC_S_scaled[9],aerob1.mC_S_scaled[10],aerob1.mC_X_scaled[1],aerob1.mC_X_scaled[2],aerob1.mC_X_scaled[3],aerob1.mC_X_scaled[4],aerob1.mC_X_scaled[5],aerob1.mC_X_scaled[6],aerob1.mC_X_scaled[7],aerob1.C_S_film[1],aerob1.C_S_film[2],aerob1.C_S_film[3],aerob1.C_S_film[4],aerob1.C_S_film[5],aerob1.C_S_film[6],aerob1.C_S_film[7],aerob1.C_S_film[8],aerob1.C_S_film[9],aerob1.C_S_film[10],aerob1.C_X_film[1],aerob1.C_X_film[2],aerob1.C_X_film[3],aerob1.C_X_film[4],aerob1.C_X_film[5],aerob1.C_X_film[6],aerob1.C_X_film[7],aerob1.L,bufferTank.mC_S_scaled[1],bufferTank.mC_S_scaled[2],bufferTank.mC_S_scaled[3],bufferTank.mC_S_scaled[4],bufferTank.mC_S_scaled[5],bufferTank.mC_S_scaled[6],bufferTank.mC_S_scaled[7],bufferTank.mC_S_scaled[8],bufferTank.mC_S_scaled[9],bufferTank.mC_S_scaled[10],bufferTank.mC_X_scaled[1],bufferTank.mC_X_scaled[2],bufferTank.mC_X_scaled[3],bufferTank.mC_X_scaled[4],bufferTank.mC_X_scaled[5],bufferTank.mC_X_scaled[6],bufferTank.mC_X_scaled[7]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (665): * Single equations (assignments): 662 * 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: 2 * 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: 1 {(3,100.0%) 7} * Non-linear torn systems: 1 {4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.003955/2.984, allocations: 1.472 MB / 1.537 GB, free: 63.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02815/3.012, allocations: 21.72 MB / 1.558 GB, free: 62.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/3.012, allocations: 1.031 kB / 1.558 GB, free: 62.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01027/3.022, allocations: 6.392 MB / 1.564 GB, free: 62.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/3.028, allocations: 1.246 MB / 1.565 GB, free: 62.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/3.065, allocations: 20.54 MB / 1.585 GB, free: 57.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007932/3.073, allocations: 5.033 MB / 1.59 GB, free: 54.01 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/3.073, allocations: 0 / 1.59 GB, free: 54.01 MB / 442.7 MB (rm -f LibRAS_LibRAS.Examples.ReactorTest.pipe ; mkfifo LibRAS_LibRAS.Examples.ReactorTest.pipe ; head -c 1048576 < LibRAS_LibRAS.Examples.ReactorTest.pipe >> ../files/LibRAS_LibRAS.Examples.ReactorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_LibRAS_LibRAS_Examples_ReactorTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=0.0001 LibRAS_LibRAS_Examples_ReactorTest.fmu > LibRAS_LibRAS.Examples.ReactorTest.pipe 2>&1)