Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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 Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") [: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.003893/0.003893, allocations: 183.4 kB / 7.459 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.341/1.341, allocations: 194.2 MB / 202.1 MB, free: 8.707 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.001788/0.001788, allocations: 122.7 kB / 247.1 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1861/0.1861, allocations: 39.95 MB / 331.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-06/3.917e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.09986, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3117/0.4116, allocations: 81.69 MB / 0.5169 GB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4118, allocations: 65.03 kB / 0.517 GB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007013/0.4189, allocations: 2.436 MB / 0.5194 GB, free: 9.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.4189, allocations: 2.656 kB / 0.5194 GB, free: 9.805 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004623/0.4194, allocations: 427 kB / 0.5198 GB, free: 9.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4194, allocations: 9.031 kB / 0.5198 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.4195, allocations: 14.91 kB / 0.5198 GB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.4197, allocations: 198.7 kB / 0.52 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4197, allocations: 4.312 kB / 0.52 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.4198, allocations: 7.938 kB / 0.52 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002136/0.42, allocations: 72.3 kB / 0.5201 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.4202, allocations: 98.55 kB / 0.5202 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4202, allocations: 3.906 kB / 0.5202 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.4203, allocations: 0 / 0.5202 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.4203, allocations: 3.969 kB / 0.5202 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.4211, allocations: 0.522 MB / 0.5207 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.4213, allocations: 56.02 kB / 0.5207 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.4214, allocations: 25.17 kB / 0.5208 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.4214, allocations: 1.594 kB / 0.5208 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.4214, allocations: 36.11 kB / 0.5208 GB, free: 8.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.4214, allocations: 0 / 0.5208 GB, free: 8.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001845/0.4216, allocations: 60.36 kB / 0.5208 GB, free: 8.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.4216, allocations: 52.84 kB / 0.5209 GB, free: 8.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4218, allocations: 124.5 kB / 0.521 GB, free: 8.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.4218, allocations: 25.7 kB / 0.521 GB, free: 8.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.4219, allocations: 140.5 kB / 0.5212 GB, free: 8.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.4219, allocations: 26.23 kB / 0.5212 GB, free: 8.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4219, allocations: 0 / 0.5212 GB, free: 8.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.422, allocations: 313.5 kB / 0.5215 GB, free: 7.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.422, allocations: 15.84 kB / 0.5215 GB, free: 7.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.399e-05/0.4221, allocations: 52.53 kB / 0.5216 GB, free: 7.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.4221, allocations: 20.28 kB / 0.5216 GB, free: 7.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4221, allocations: 1.312 kB / 0.5216 GB, free: 7.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001465/0.4223, allocations: 94.94 kB / 0.5217 GB, free: 7.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4223, allocations: 4.5 kB / 0.5217 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4223, allocations: 1.578 kB / 0.5217 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4223, allocations: 1.5 kB / 0.5217 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.4225, allocations: 36.05 kB / 0.5217 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4225, allocations: 5.484 kB / 0.5217 GB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.4226, allocations: 20.52 kB / 0.5217 GB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.4226, allocations: 3.469 kB / 0.5217 GB, free: 7.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.4227, allocations: 106.2 kB / 0.5218 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.4227, allocations: 11.62 kB / 0.5219 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.4228, allocations: 9.781 kB / 0.5219 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4228, allocations: 1.25 kB / 0.5219 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4228, allocations: 0 / 0.5219 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4228, allocations: 3.984 kB / 0.5219 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.4229, allocations: 174.4 kB / 0.522 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4229, allocations: 0 / 0.522 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.423, allocations: 27.36 kB / 0.5221 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4231, allocations: 3.906 kB / 0.5221 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4231, allocations: 5.266 kB / 0.5221 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4231, allocations: 0 / 0.5221 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4231, allocations: 0 / 0.5221 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001125/0.4232, allocations: 151.3 kB / 0.5222 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.4232, allocations: 86.28 kB / 0.5223 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.4233, allocations: 9.188 kB / 0.5223 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4234, allocations: 6.438 kB / 0.5223 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.4234, allocations: 14.3 kB / 0.5223 GB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4234, allocations: 1.375 kB / 0.5223 GB, free: 7.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.04e-05/0.4235, allocations: 104.4 kB / 0.5224 GB, free: 7.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.4237, allocations: 23.34 kB / 0.5224 GB, free: 7.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001364/0.4239, allocations: 105.4 kB / 0.5226 GB, free: 7.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.424, allocations: 44.72 kB / 0.5226 GB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.424, allocations: 0 / 0.5226 GB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.4241, allocations: 18.44 kB / 0.5226 GB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.4242, allocations: 2.188 kB / 0.5226 GB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.4246, allocations: 147.3 kB / 0.5228 GB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.4249, allocations: 0.723 MB / 0.5235 GB, free: 6.23 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4249, allocations: 1.281 kB / 0.5235 GB, free: 6.23 MB / 346.7 MB Notification: Performance of Templates: time 0.003165/0.428, allocations: 0.7753 MB / 0.5242 GB, free: 5.855 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe 2>&1)