Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [: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.00354/0.00354, allocations: 184 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06227/0.06227, allocations: 8.706 MB / 16.57 MB, free: 432 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.402/1.402, allocations: 221.4 MB / 240.5 MB, free: 8.293 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.0009211/0.0009211, allocations: 94.11 kB / 293.5 MB, free: 7.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.083e-05, allocations: 4 kB / 352.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2161, allocations: 52.53 MB / 404.6 MB, free: 27.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09175/0.3079, allocations: 79.69 MB / 484.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3082, allocations: 64.94 kB / 484.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.02584/0.3341, allocations: 10.02 MB / 494.4 MB, free: 1.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3341, allocations: 4 kB / 494.4 MB, free: 1.105 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.0004267/0.3346, allocations: 394.8 kB / 494.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3346, allocations: 16.03 kB / 494.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.335, allocations: 115.1 kB / 494.9 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.3368, allocations: 0.7641 MB / 495.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.3369, allocations: 150.6 kB / 495.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.3369, allocations: 158.6 kB / 496 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.492e-05/0.337, allocations: 150.6 kB / 496.1 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.071e-05/0.3371, allocations: 104.9 kB / 496.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.3371, allocations: 75.28 kB / 496.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.3371, allocations: 150.6 kB / 496.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.3372, allocations: 158.5 kB / 496.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.3375, allocations: 442.5 kB / 497 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.3376, allocations: 169.1 kB / 497.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.3376, allocations: 80.14 kB / 497.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3376, allocations: 75.28 kB / 497.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3377, allocations: 117.8 kB / 497.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.3377, allocations: 0 / 497.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.591e-05/0.3378, allocations: 41.5 kB / 497.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.3378, allocations: 55.34 kB / 497.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3379, allocations: 138.5 kB / 497.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.338, allocations: 29.7 kB / 497.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.338, allocations: 84.14 kB / 497.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.338, allocations: 3.938 kB / 497.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-07/0.338, allocations: 8 kB / 497.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.3381, allocations: 318.8 kB / 498.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-06/0.3381, allocations: 0 / 498.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/0.3381, allocations: 0 / 498.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.3382, allocations: 79.28 kB / 498.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.3382, allocations: 75.28 kB / 498.3 MB, free: 13 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.21e-05/0.3383, allocations: 37.59 kB / 498.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3383, allocations: 4 kB / 498.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.084e-05/0.3383, allocations: 79.22 kB / 498.4 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.921e-05/0.3384, allocations: 166.5 kB / 498.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.876e-05/0.3384, allocations: 75.28 kB / 498.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.456e-05/0.3385, allocations: 154.5 kB / 498.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.3386, allocations: 79.19 kB / 498.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3386, allocations: 79.28 kB / 498.9 MB, free: 12.33 MB / 378.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 8.8e-05/0.3387, allocations: 255.5 kB / 499.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.3387, allocations: 117 kB / 499.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.3388, allocations: 117.5 kB / 499.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/0.3389, allocations: 176.3 kB / 499.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-05/0.3389, allocations: 188.2 kB / 499.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/0.339, allocations: 180.2 kB / 499.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3392, allocations: 405.7 kB / 0.4886 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.919e-05/0.3392, allocations: 108.9 kB / 0.4887 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.3393, allocations: 101.9 kB / 0.4888 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.041e-05/0.3393, allocations: 176.3 kB / 0.489 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.3394, allocations: 184.2 kB / 0.4892 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.233e-05/0.3394, allocations: 184.3 kB / 0.4893 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.599e-05/0.3395, allocations: 184.2 kB / 0.4895 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000117/0.3396, allocations: 312 kB / 0.4898 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.3397, allocations: 182 kB / 0.49 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.3398, allocations: 196.2 kB / 0.4902 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.3399, allocations: 101 kB / 0.4903 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.3399, allocations: 180.3 kB / 0.4904 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.34, allocations: 104.9 kB / 0.4905 GB, free: 8.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.418e-05/0.3401, allocations: 128.9 kB / 0.4907 GB, free: 8.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.3403, allocations: 4 kB / 0.4907 GB, free: 8.621 MB / 378.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.0001728/0.3405, allocations: 206.4 kB / 0.4909 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.009e-05/0.3405, allocations: 4 kB / 0.4909 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3406, allocations: 4 kB / 0.4909 GB, free: 8.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.3406, allocations: 0 / 0.4909 GB, free: 8.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3409, allocations: 0.534 MB / 0.4914 GB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.3412, allocations: 182.9 kB / 0.4916 GB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.3414, allocations: 0.7153 MB / 0.4923 GB, free: 6.922 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3414, allocations: 0 / 0.4923 GB, free: 6.922 MB / 378.7 MB Notification: Performance of Templates: time 0.002473/0.3439, allocations: 0.5579 MB / 0.4928 GB, free: 6.371 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)