Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem") translateModel(ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem") [: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.001065/0.001065, allocations: 189.4 kB / 7.798 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.016/1.016, allocations: 221.4 MB / 229.6 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008617/0.0008617, allocations: 101.9 kB / 280.5 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3427/0.3427, allocations: 64.46 MB / 395.7 MB, free: 27.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.231e-06/6.251e-06, allocations: 4 kB / 466.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2242, allocations: 64.84 MB / 0.519 GB, free: 30.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4336/0.6579, allocations: 341.7 MB / 0.8527 GB, free: 384 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001531/0.6581, allocations: 60.78 kB / 0.8528 GB, free: 356 kB / 0.5261 GB Notification: Performance of FrontEnd: time 0.4472/1.105, allocations: 147.7 MB / 0.997 GB, free: 121 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.374e-05/1.105, allocations: 31.98 kB / 0.997 GB, free: 121 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.003986/1.109, allocations: 1.409 MB / 0.9984 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/1.109, allocations: 8.031 kB / 0.9984 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/1.11, allocations: 146.4 kB / 0.9985 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/1.111, allocations: 0.6232 MB / 0.9991 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/1.111, allocations: 44 kB / 0.9992 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002673/1.111, allocations: 83.94 kB / 0.9992 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002941/1.114, allocations: 2.083 MB / 1.001 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/1.117, allocations: 1.762 MB / 1.003 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/1.117, allocations: 3.906 kB / 1.003 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/1.117, allocations: 0 / 1.003 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/1.117, allocations: 91.2 kB / 1.003 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007963/1.125, allocations: 5.771 MB / 1.009 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/1.127, allocations: 2.021 MB / 1.011 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/1.129, allocations: 1.084 MB / 1.012 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/1.13, allocations: 0.8362 MB / 1.013 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/1.13, allocations: 60.56 kB / 1.013 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=187): time 3.066e-06/1.13, allocations: 0 / 1.013 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=187): time 0.009394/1.139, allocations: 3.406 MB / 1.016 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/1.139, allocations: 73.41 kB / 1.016 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/1.139, allocations: 355.5 kB / 1.016 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.14, allocations: 33.64 kB / 1.016 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.14, allocations: 412 kB / 1.017 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/1.14, allocations: 0.5965 MB / 1.017 GB, free: 99.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/1.14, allocations: 0 / 1.017 GB, free: 99.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/1.14, allocations: 394.8 kB / 1.018 GB, free: 99.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009719/1.141, allocations: 0.8083 MB / 1.019 GB, free: 98.44 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/1.142, allocations: 1.025 MB / 1.02 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/1.144, allocations: 1.212 MB / 1.021 GB, free: 96.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.144, allocations: 0 / 1.021 GB, free: 96.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.009649/1.154, allocations: 3.703 MB / 1.024 GB, free: 92.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.154, allocations: 11.91 kB / 1.024 GB, free: 92.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.154, allocations: 4 kB / 1.024 GB, free: 92.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008114/1.162, allocations: 1.721 MB / 1.026 GB, free: 90.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.163, allocations: 343.5 kB / 1.026 GB, free: 90.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/1.165, allocations: 1.628 MB / 1.028 GB, free: 88.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.166, allocations: 170.3 kB / 1.028 GB, free: 88.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.166, allocations: 71.97 kB / 1.028 GB, free: 88.45 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 177 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 51} Notification: Performance of prepare postOptimizeDAE: time 0.0002621/1.167, allocations: 132.6 kB / 1.028 GB, free: 88.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.167, allocations: 90.97 kB / 1.028 GB, free: 88.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009801/1.177, allocations: 3.758 MB / 1.032 GB, free: 84.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.177, allocations: 20 kB / 1.032 GB, free: 84.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.177, allocations: 3.906 kB / 1.032 GB, free: 84.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.177, allocations: 15.95 kB / 1.032 GB, free: 84.42 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.189, allocations: 7.196 MB / 1.039 GB, free: 77.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.189, allocations: 12 kB / 1.039 GB, free: 77.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.19, allocations: 304.4 kB / 1.039 GB, free: 76.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007659/1.198, allocations: 1.656 MB / 1.041 GB, free: 75.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/1.198, allocations: 27.98 kB / 1.041 GB, free: 75.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/1.199, allocations: 1.673 MB / 1.043 GB, free: 73.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.199, allocations: 23.91 kB / 1.043 GB, free: 73.3 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009173/1.209, allocations: 4.574 MB / 1.047 GB, free: 68.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/1.209, allocations: 215.5 kB / 1.047 GB, free: 68.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/1.209, allocations: 23.98 kB / 1.047 GB, free: 68.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.21, allocations: 63.94 kB / 1.047 GB, free: 67.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.21, allocations: 136.9 kB / 1.048 GB, free: 67.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.21, allocations: 75.89 kB / 1.048 GB, free: 67.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0002235/1.211, allocations: 267.1 kB / 1.048 GB, free: 67.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001394/1.212, allocations: 487.1 kB / 1.048 GB, free: 67.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 154 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 56} Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/1.213, allocations: 1.059 MB / 1.049 GB, free: 65.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002408/1.216, allocations: 2.027 MB / 1.051 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.216, allocations: 5.062 kB / 1.051 GB, free: 63.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.217, allocations: 1.093 MB / 1.053 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/1.218, allocations: 131.3 kB / 1.053 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/1.222, allocations: 2.747 MB / 1.055 GB, free: 59.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.223, allocations: 1.372 MB / 1.057 GB, free: 58.37 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.223, allocations: 0 / 1.057 GB, free: 58.37 MB / 0.5573 GB Notification: Performance of Templates: time 0.03459/1.258, allocations: 29.76 MB / 1.086 GB, free: 28.69 MB / 0.5573 GB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.makefile (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.sim & ./ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe 2>&1)