Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.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) 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(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") [: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.001969/0.001969, allocations: 196.1 kB / 8.138 MB, free: 2.191 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.207/1.207, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001911/0.001911, allocations: 116.9 kB / 247.7 MB, free: 6.402 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.251e-06, allocations: 0 / 297.6 MB, free: 8.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06943/0.06946, allocations: 44.49 MB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.2522, allocations: 68.96 MB / 411 MB, free: 26.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001537/0.2524, allocations: 61.66 kB / 411.1 MB, free: 26.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.001712/0.2541, allocations: 0.5041 MB / 411.6 MB, free: 25.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2542, allocations: 4.281 kB / 411.6 MB, free: 25.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0001855/0.2544, allocations: 331.8 kB / 411.9 MB, free: 25.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.2544, allocations: 8.031 kB / 411.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.2544, allocations: 5.312 kB / 411.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.2545, allocations: 167.8 kB / 412.1 MB, free: 25.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2545, allocations: 3.906 kB / 412.1 MB, free: 25.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2545, allocations: 10.17 kB / 412.1 MB, free: 25.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.077e-05/0.2546, allocations: 31.98 kB / 412.1 MB, free: 25.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.2547, allocations: 101.9 kB / 412.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2547, allocations: 4.844 kB / 412.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2548, allocations: 0 / 412.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2548, allocations: 0 / 412.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.2549, allocations: 161 kB / 412.4 MB, free: 24.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.255, allocations: 113.1 kB / 412.5 MB, free: 24.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.255, allocations: 55.41 kB / 412.5 MB, free: 24.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-06/0.255, allocations: 0 / 412.5 MB, free: 24.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.2551, allocations: 37.69 kB / 412.6 MB, free: 24.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.2551, allocations: 4 kB / 412.6 MB, free: 24.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.000204/0.2553, allocations: 125.4 kB / 412.7 MB, free: 24.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.2553, allocations: 131.6 kB / 412.8 MB, free: 24.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.2554, allocations: 104.9 kB / 412.9 MB, free: 24.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2554, allocations: 25.7 kB / 413 MB, free: 24.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.083e-05/0.2554, allocations: 80.14 kB / 413 MB, free: 23.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2554, allocations: 11.39 kB / 413.1 MB, free: 23.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.2555, allocations: 8.125 kB / 413.1 MB, free: 23.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.2555, allocations: 313.2 kB / 413.4 MB, free: 23.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.2555, allocations: 35.97 kB / 413.4 MB, free: 23.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.2556, allocations: 61.03 kB / 413.5 MB, free: 23.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.2556, allocations: 39.88 kB / 413.5 MB, free: 23.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2557, allocations: 8 kB / 413.5 MB, free: 23.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.2558, allocations: 117.1 kB / 413.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.2558, allocations: 7.938 kB / 413.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2558, allocations: 2.188 kB / 413.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2558, allocations: 4 kB / 413.6 MB, free: 23.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.918e-05/0.2559, allocations: 6.609 kB / 413.6 MB, free: 23.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2559, allocations: 4 kB / 413.7 MB, free: 23.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.2559, allocations: 0 / 413.7 MB, free: 23.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.2559, allocations: 16.03 kB / 413.7 MB, free: 23.35 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.081e-05/0.256, allocations: 104.8 kB / 413.8 MB, free: 23.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.256, allocations: 4 kB / 413.8 MB, free: 23.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.256, allocations: 10.64 kB / 413.8 MB, free: 23.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.256, allocations: 7.906 kB / 413.8 MB, free: 23.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2561, allocations: 0 / 413.8 MB, free: 23.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2561, allocations: 0 / 413.8 MB, free: 23.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.871e-05/0.2561, allocations: 138.2 kB / 413.9 MB, free: 23.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2561, allocations: 0 / 413.9 MB, free: 23.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.2561, allocations: 4 kB / 413.9 MB, free: 23.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2561, allocations: 4.547 kB / 413.9 MB, free: 23.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2562, allocations: 14.3 kB / 413.9 MB, free: 23.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2562, allocations: 3.938 kB / 414 MB, free: 23.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2562, allocations: 0 / 414 MB, free: 23.03 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001482/0.2563, allocations: 195.2 kB / 414.1 MB, free: 22.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.2564, allocations: 85.05 kB / 414.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.2564, allocations: 2.438 kB / 414.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.2564, allocations: 4 kB / 414.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.2564, allocations: 7.891 kB / 414.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2564, allocations: 8 kB / 414.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.395e-05/0.2565, allocations: 94.64 kB / 414.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.2567, allocations: 11.94 kB / 414.4 MB, free: 22.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002142/0.2569, allocations: 116.2 kB / 414.5 MB, free: 22.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.257, allocations: 57.23 kB / 414.5 MB, free: 22.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.257, allocations: 7.938 kB / 414.5 MB, free: 22.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.2571, allocations: 30.39 kB / 414.6 MB, free: 22.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.2572, allocations: 11.94 kB / 414.6 MB, free: 22.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.2574, allocations: 108.3 kB / 414.7 MB, free: 22.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/0.2575, allocations: 0.6958 MB / 415.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2575, allocations: 0 / 415.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of Templates: time 0.002177/0.2597, allocations: 0.5814 MB / 416 MB, free: 20.95 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)