Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro.PDE.Examples.AdvectionGaussian,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.PDE.Examples.AdvectionGaussian,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian",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.3+maint.om/package.mo): time 0.004289/0.004289, allocations: 183.4 kB / 7.459 MB, free: 2.344 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009904/0.0009906, allocations: 92.67 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06149/0.06149, allocations: 10.87 MB / 319.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2123/0.2739, allocations: 55.85 MB / 375.7 MB, free: 77.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.379, allocations: 49.76 MB / 425.5 MB, free: 27.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2908/0.6698, allocations: 78.54 MB / 0.4922 GB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.6701, allocations: 65.34 kB / 0.4923 GB, free: 12.4 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.1414/0.8116, allocations: 42.66 MB / 0.5339 GB, free: 11.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.8116, allocations: 11.94 kB / 0.534 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.8122, allocations: 71.16 kB / 0.534 GB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.8135, allocations: 0.5527 MB / 0.5346 GB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.8136, allocations: 20 kB / 0.5346 GB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.814, allocations: 59.36 kB / 0.5346 GB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004365/0.8183, allocations: 2.339 MB / 0.5369 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.8206, allocations: 1.049 MB / 0.5379 GB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.8206, allocations: 0 / 0.5379 GB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.8207, allocations: 4 kB / 0.5379 GB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.8208, allocations: 48.66 kB / 0.538 GB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009858/0.8307, allocations: 3.507 MB / 0.5414 GB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.8321, allocations: 0.8949 MB / 0.5423 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.8333, allocations: 0.7641 MB / 0.543 GB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-05/0.8334, allocations: 32.17 kB / 0.5431 GB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.8346, allocations: 0.8145 MB / 0.5439 GB, free: 3.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 3.016e-06/0.8346, allocations: 0 / 0.5439 GB, free: 3.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=97): time 0.002589/0.8372, allocations: 1.39 MB / 0.5452 GB, free: 1.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.8373, allocations: 62.84 kB / 0.5453 GB, free: 1.637 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009414/0.8382, allocations: 0.5828 MB / 0.5458 GB, free: 1.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.8384, allocations: 25.7 kB / 0.5459 GB, free: 1.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.8387, allocations: 307.5 kB / 0.5462 GB, free: 0.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.8391, allocations: 366.8 kB / 0.5465 GB, free: 352 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.8392, allocations: 0 / 0.5465 GB, free: 352 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.8395, allocations: 402.6 kB / 0.5469 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.8409, allocations: 0.7574 MB / 0.5476 GB, free: 15.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.8424, allocations: 1.038 MB / 0.5487 GB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.8441, allocations: 0.9285 MB / 0.5496 GB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.8441, allocations: 4 kB / 0.5496 GB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003785/0.8479, allocations: 2.016 MB / 0.5515 GB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8479, allocations: 8 kB / 0.5515 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.848, allocations: 11.91 kB / 0.5516 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/0.848, allocations: 16 kB / 0.5516 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.8513, allocations: 0.5539 MB / 0.5521 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.296e-05/0.8514, allocations: 23.92 kB / 0.5521 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.8533, allocations: 238.4 kB / 0.5524 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.8536, allocations: 71.94 kB / 0.5524 GB, free: 10.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_velocity.T_start,pulse_velocity.T_start,$PRE.pulse_velocity.count,pulse_velocity.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003483/0.8539, allocations: 128.6 kB / 0.5526 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.8542, allocations: 87.05 kB / 0.5526 GB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/0.8576, allocations: 1.668 MB / 0.5543 GB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.8576, allocations: 12 kB / 0.5543 GB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8576, allocations: 0 / 0.5543 GB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.8576, allocations: 3.984 kB / 0.5543 GB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006235/0.8639, allocations: 3.634 MB / 0.5578 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.8639, allocations: 8 kB / 0.5578 GB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/0.8667, allocations: 415.4 kB / 0.5582 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/0.8668, allocations: 12 kB / 0.5582 GB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.867, allocations: 55.94 kB / 0.5583 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.867, allocations: 19.92 kB / 0.5583 GB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.867, allocations: 12.88 kB / 0.5583 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004113/0.8711, allocations: 2.736 MB / 0.561 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005443/0.8766, allocations: 4.031 MB / 0.5649 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.8773, allocations: 315.7 kB / 0.5652 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.8776, allocations: 35.97 kB / 0.5653 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.8792, allocations: 135.9 kB / 0.5654 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.8794, allocations: 88.36 kB / 0.5655 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.8795, allocations: 51.94 kB / 0.5655 GB, free: 12 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006677/0.8802, allocations: 450.8 kB / 0.566 GB, free: 11.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001659/0.8819, allocations: 215.9 kB / 0.5662 GB, free: 11.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 31 (positionMean,upwindFirstOrder.u[1,1],upwindFirstOrder.u[2,1],upwindFirstOrder.u[3,1],upwindFirstOrder.u[4,1],upwindFirstOrder.u[5,1],upwindFirstOrder.u[6,1],upwindFirstOrder.u[7,1],upwindFirstOrder.u[8,1],upwindFirstOrder.u[9,1],upwindFirstOrder.u[10,1],upwindFirstOrder.u[11,1],upwindFirstOrder.u[12,1],upwindFirstOrder.u[13,1],upwindFirstOrder.u[14,1],upwindFirstOrder.u[15,1],upwindFirstOrder.u[16,1],upwindFirstOrder.u[17,1],upwindFirstOrder.u[18,1],upwindFirstOrder.u[19,1],upwindFirstOrder.u[20,1],upwindFirstOrder.u[21,1],upwindFirstOrder.u[22,1],upwindFirstOrder.u[23,1],upwindFirstOrder.u[24,1],upwindFirstOrder.u[25,1],upwindFirstOrder.u[26,1],upwindFirstOrder.u[27,1],upwindFirstOrder.u[28,1],upwindFirstOrder.u[29,1],upwindFirstOrder.u[30,1]) * Number of discrete variables: 3 ($whenCondition1,pulse_velocity.T_start,pulse_velocity.count) * Number of discrete states: 1 (pulse_velocity.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002771/0.8822, allocations: 146.1 kB / 0.5663 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.885, allocations: 1.727 MB / 0.568 GB, free: 9.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8851, allocations: 0.6875 kB / 0.568 GB, free: 9.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.8863, allocations: 0.7909 MB / 0.5688 GB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.8869, allocations: 53.95 kB / 0.5688 GB, free: 8.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.8908, allocations: 2.187 MB / 0.571 GB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/0.8926, allocations: 1.224 MB / 0.5722 GB, free: 5.066 MB / 378.7 MB Notification: Performance of SimCode: time 3.357e-06/0.8927, allocations: 0 / 0.5722 GB, free: 5.066 MB / 378.7 MB (rm -f TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe ; mkfifo TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe ; head -c 1048576 < TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe >> ../files/TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_TAeZoSysPro_PDE_Examples_AdvectionGaussian.fmu > TAeZoSysPro_TAeZoSysPro.PDE.Examples.AdvectionGaussian.pipe 2>&1)