Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.conf.json 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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") [: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 4.0.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 183.1 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05277/0.05277, allocations: 8.709 MB / 16.58 MB, free: 448 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 221.4 MB / 240.5 MB, free: 8.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.0009448, allocations: 94.78 kB / 293.5 MB, free: 7.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/4.959e-06, allocations: 0 / 352.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2205, allocations: 52.54 MB / 404.6 MB, free: 27.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0893/0.3099, allocations: 76.21 MB / 480.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.3101, allocations: 63.97 kB / 480.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.00313/0.3133, allocations: 0.8222 MB / 481.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.3133, allocations: 4 kB / 481.7 MB, free: 13.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002825/0.3136, allocations: 376.4 kB / 482.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3136, allocations: 8.031 kB / 482.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.3137, allocations: 83.19 kB / 482.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.314, allocations: 275 kB / 482.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.3141, allocations: 162.5 kB / 482.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.3141, allocations: 152 kB / 482.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.669e-05/0.3142, allocations: 158.6 kB / 482.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.872e-05/0.3143, allocations: 109 kB / 483 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.3143, allocations: 75.28 kB / 483.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.3144, allocations: 150.6 kB / 483.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/0.3144, allocations: 150.6 kB / 483.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.3148, allocations: 462.5 kB / 483.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.3149, allocations: 165.1 kB / 484 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.3149, allocations: 84.12 kB / 484.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3149, allocations: 79.28 kB / 484.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.315, allocations: 109.8 kB / 484.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.315, allocations: 4 kB / 484.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.452e-05/0.3151, allocations: 45.5 kB / 484.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.3151, allocations: 51.41 kB / 484.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3153, allocations: 199 kB / 484.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.3154, allocations: 25.7 kB / 484.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.3154, allocations: 96.12 kB / 484.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.3154, allocations: 0 / 484.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-07/0.3154, allocations: 0 / 484.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3155, allocations: 322.8 kB / 485 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-06/0.3156, allocations: 7.938 kB / 485 MB, free: 10.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.3156, allocations: 0 / 485 MB, free: 10.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.3156, allocations: 83.22 kB / 485.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-05/0.3156, allocations: 79.28 kB / 485.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.57e-05/0.3157, allocations: 41.45 kB / 485.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3157, allocations: 11.98 kB / 485.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.3157, allocations: 75.28 kB / 485.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.776e-05/0.3158, allocations: 150.6 kB / 485.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.49e-05/0.3159, allocations: 83.22 kB / 485.5 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.207e-05/0.3159, allocations: 150.6 kB / 485.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.316, allocations: 83.19 kB / 485.7 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.3161, allocations: 79.22 kB / 485.8 MB, free: 9.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 9.833e-05/0.3162, allocations: 251.5 kB / 486.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.3162, allocations: 125.1 kB / 486.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.3163, allocations: 121.5 kB / 486.3 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/0.3164, allocations: 184.2 kB / 486.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-05/0.3164, allocations: 176.3 kB / 486.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.995e-05/0.3165, allocations: 180.3 kB / 486.8 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.3167, allocations: 421.7 kB / 487.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/0.3168, allocations: 105 kB / 487.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.3168, allocations: 101 kB / 487.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.026e-05/0.3169, allocations: 185.2 kB / 487.6 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/0.317, allocations: 184.3 kB / 487.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-05/0.317, allocations: 180.2 kB / 488 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.95e-05/0.3171, allocations: 184.2 kB / 488.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001373/0.3173, allocations: 311.6 kB / 488.5 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.3174, allocations: 194.3 kB / 488.6 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.3175, allocations: 188.2 kB / 488.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.3176, allocations: 101 kB / 488.9 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.3176, allocations: 188.2 kB / 489.1 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.3177, allocations: 105 kB / 489.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001357/0.3178, allocations: 169.5 kB / 489.4 MB, free: 5.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.3181, allocations: 4 kB / 489.4 MB, free: 5.801 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0001159/0.3182, allocations: 172.8 kB / 489.6 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 2.607e-05/0.3182, allocations: 0 / 489.6 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3183, allocations: 4 kB / 489.6 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.3183, allocations: 3.938 kB / 489.6 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3186, allocations: 0.5264 MB / 490.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.3189, allocations: 226.6 kB / 490.3 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.3192, allocations: 0.7308 MB / 491 MB, free: 4.074 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3192, allocations: 4 kB / 491 MB, free: 4.07 MB / 362.7 MB Notification: Performance of Templates: time 0.001884/0.3211, allocations: 251.5 kB / 491.3 MB, free: 3.832 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)