Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock") [: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.001095/0.001095, allocations: 194.1 kB / 8.137 MB, free: 2.184 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.138/1.138, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.001804/0.001804, allocations: 114 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.883e-06, allocations: 3.938 kB / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08683, allocations: 44.48 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.3038, allocations: 70.59 MB / 412.6 MB, free: 24.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.304, allocations: 66.53 kB / 412.7 MB, free: 24.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.003301/0.3073, allocations: 0.9538 MB / 413.6 MB, free: 23.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3074, allocations: 0 / 413.6 MB, free: 23.64 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003621/0.3077, allocations: 384.5 kB / 414 MB, free: 23.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3078, allocations: 8.781 kB / 414 MB, free: 23.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3078, allocations: 7.906 kB / 414 MB, free: 23.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.3079, allocations: 163 kB / 414.2 MB, free: 23.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3079, allocations: 4.656 kB / 414.2 MB, free: 23.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.3079, allocations: 5.5 kB / 414.2 MB, free: 23.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.3081, allocations: 37.67 kB / 414.2 MB, free: 22.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.119e-05/0.3081, allocations: 56.47 kB / 414.3 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3082, allocations: 0 / 414.3 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3082, allocations: 0 / 414.3 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3082, allocations: 3.703 kB / 414.3 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.3085, allocations: 284.8 kB / 414.6 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3087, allocations: 44.2 kB / 414.6 MB, free: 22.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.3087, allocations: 23.09 kB / 414.6 MB, free: 22.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3087, allocations: 4 kB / 414.7 MB, free: 22.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3087, allocations: 34.44 kB / 414.7 MB, free: 22.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3088, allocations: 0 / 414.7 MB, free: 22.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001708/0.3089, allocations: 67.58 kB / 414.8 MB, free: 22.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.544e-05/0.309, allocations: 59.39 kB / 414.8 MB, free: 22.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.309, allocations: 96.19 kB / 414.9 MB, free: 22.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.309, allocations: 25.7 kB / 414.9 MB, free: 22.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.3091, allocations: 100.2 kB / 415 MB, free: 22.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.3091, allocations: 7.812 kB / 415 MB, free: 22.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.3091, allocations: 0 / 415 MB, free: 22.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.3091, allocations: 317.9 kB / 415.3 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.3092, allocations: 13 kB / 415.4 MB, free: 21.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.3092, allocations: 10.94 kB / 415.4 MB, free: 21.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.3092, allocations: 19.48 kB / 415.4 MB, free: 21.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3092, allocations: 0 / 415.4 MB, free: 21.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.737e-05/0.3093, allocations: 68.12 kB / 415.5 MB, free: 21.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.3094, allocations: 8 kB / 415.5 MB, free: 21.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3094, allocations: 0 / 415.5 MB, free: 21.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3094, allocations: 0 / 415.5 MB, free: 21.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3096, allocations: 31.92 kB / 415.5 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.3096, allocations: 0 / 415.5 MB, free: 21.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3097, allocations: 27.25 kB / 415.5 MB, free: 21.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3097, allocations: 0 / 415.5 MB, free: 21.71 MB / 314.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 (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 prepare postOptimizeDAE: time 4.394e-05/0.3097, allocations: 112.8 kB / 415.6 MB, free: 21.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3098, allocations: 3.906 kB / 415.6 MB, free: 21.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.3099, allocations: 80.84 kB / 415.7 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3099, allocations: 4 kB / 415.7 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3099, allocations: 0 / 415.7 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.31, allocations: 0 / 415.7 MB, free: 21.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3101, allocations: 163.7 kB / 415.9 MB, free: 21.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3101, allocations: 0 / 415.9 MB, free: 21.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.3103, allocations: 35.91 kB / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3103, allocations: 0 / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3103, allocations: 9.359 kB / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3103, allocations: 0 / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3103, allocations: 0 / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001167/0.3104, allocations: 169.9 kB / 416.1 MB, free: 21.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3104, allocations: 81.02 kB / 416.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3105, allocations: 0 / 416.2 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3106, allocations: 27.61 kB / 416.2 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3107, allocations: 3.984 kB / 416.2 MB, free: 21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3107, allocations: 4 kB / 416.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.415e-05/0.3107, allocations: 86.52 kB / 416.3 MB, free: 20.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.3109, allocations: 15.91 kB / 416.3 MB, free: 20.89 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0001152/0.3111, allocations: 103.2 kB / 416.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.3112, allocations: 42.47 kB / 416.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3112, allocations: 0 / 416.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.3112, allocations: 32.61 kB / 416.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.3114, allocations: 1.406 kB / 416.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.3117, allocations: 96.92 kB / 416.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3118, allocations: 0.6997 MB / 417.3 MB, free: 19.9 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3118, allocations: 0 / 417.3 MB, free: 19.9 MB / 314.7 MB Notification: Performance of Templates: time 0.002517/0.3144, allocations: 0.7851 MB / 418.1 MB, free: 19.14 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)