Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [: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.004181/0.004181, allocations: 183.4 kB / 7.459 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0557/0.0557, allocations: 8.708 MB / 16.57 MB, free: 488 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.401/1.401, allocations: 221.4 MB / 240.5 MB, free: 8.254 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.0009332/0.0009332, allocations: 98.97 kB / 293.5 MB, free: 5.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.804e-06, allocations: 4 kB / 352.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 52.55 MB / 404.6 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08799/0.307, allocations: 75.5 MB / 480.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.3072, allocations: 55.98 kB / 480.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.0006758/0.3079, allocations: 95.38 kB / 480.3 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3079, allocations: 0 / 480.3 MB, free: 15 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000243/0.3082, allocations: 310 kB / 480.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3082, allocations: 8.031 kB / 480.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.3082, allocations: 4.938 kB / 480.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3084, allocations: 167 kB / 480.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.3084, allocations: 2.438 kB / 480.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.3084, allocations: 0 / 480.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.994e-05/0.3084, allocations: 7.938 kB / 480.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.851e-05/0.3085, allocations: 47.39 kB / 480.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3085, allocations: 4.812 kB / 480.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.3085, allocations: 0 / 480.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3086, allocations: 0 / 480.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.309, allocations: 177.9 kB / 481 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.3091, allocations: 38.53 kB / 481 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.3091, allocations: 17.94 kB / 481 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3091, allocations: 0.5312 kB / 481 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.3092, allocations: 35.25 kB / 481.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3092, allocations: 1.125 kB / 481.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001221/0.3093, allocations: 45.62 kB / 481.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3094, allocations: 77.7 kB / 481.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.3094, allocations: 89.94 kB / 481.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3094, allocations: 26.45 kB / 481.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.3095, allocations: 80.73 kB / 481.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3095, allocations: 11.84 kB / 481.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.3095, allocations: 2.031 kB / 481.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3096, allocations: 310.8 kB / 481.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.3096, allocations: 4 kB / 481.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.3096, allocations: 10.31 kB / 481.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.549e-05/0.3097, allocations: 9.766 kB / 481.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3097, allocations: 0 / 481.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.447e-05/0.3097, allocations: 45.55 kB / 481.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3098, allocations: 10.69 kB / 481.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3098, allocations: 3.984 kB / 481.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.3098, allocations: 4 kB / 481.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.31, allocations: 24.3 kB / 481.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.3116, allocations: 2.434 MB / 484.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.3116, allocations: 3.984 kB / 484.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3117, allocations: 4.188 kB / 484.3 MB, free: 10.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * 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): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.3117, allocations: 108.9 kB / 484.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.3118, allocations: 0 / 484.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.198e-05/0.3118, allocations: 15.14 kB / 484.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3118, allocations: 0 / 484.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.3118, allocations: 0 / 484.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3118, allocations: 0 / 484.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3121, allocations: 170.1 kB / 484.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3121, allocations: 3.938 kB / 484.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.3123, allocations: 27.98 kB / 484.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3123, allocations: 0 / 484.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3123, allocations: 4 kB / 484.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.3138, allocations: 2.446 MB / 487 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3138, allocations: 0 / 487 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.108e-05/0.3139, allocations: 83.81 kB / 487.1 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.3139, allocations: 77.11 kB / 487.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-06/0.3139, allocations: 4 kB / 487.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.314, allocations: 3.984 kB / 487.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.314, allocations: 3.906 kB / 487.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.314, allocations: 0 / 487.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.714e-05/0.314, allocations: 83.31 kB / 487.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.3142, allocations: 4 kB / 487.3 MB, free: 7.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * 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): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001019/0.3143, allocations: 99.17 kB / 487.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.3147, allocations: 44.05 kB / 487.4 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3147, allocations: 0 / 487.4 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3149, allocations: 47.94 kB / 487.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.315, allocations: 3.938 kB / 487.5 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.3152, allocations: 76.58 kB / 487.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.3155, allocations: 0.7115 MB / 488.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3155, allocations: 0 / 488.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of Templates: time 0.002162/0.3176, allocations: 0.5961 MB / 488.9 MB, free: 5.613 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)