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: "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem",fmuType="me",version="2.0",platforms={"static"}) [: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.0009416/0.0009418, allocations: 186.2 kB / 7.802 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.01/1.01, allocations: 221.4 MB / 229.6 MB, free: 3.082 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.0008371/0.0008371, allocations: 110.6 kB / 280.5 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3469/0.3469, allocations: 64.46 MB / 395.7 MB, free: 27.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09607/0.443, allocations: 70.99 MB / 466.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.6595, allocations: 64.84 MB / 0.5191 GB, free: 30.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/1.081, allocations: 341.7 MB / 0.8528 GB, free: 320 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001506/1.081, allocations: 57.3 kB / 0.8529 GB, free: 296 kB / 0.5261 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.4494/1.53, allocations: 149.1 MB / 0.9985 GB, free: 120 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.53, allocations: 8 kB / 0.9985 GB, free: 120 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/1.531, allocations: 146.4 kB / 0.9986 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009759/1.532, allocations: 0.627 MB / 0.9992 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/1.532, allocations: 44 kB / 0.9993 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/1.532, allocations: 76 kB / 0.9993 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002843/1.535, allocations: 2.087 MB / 1.001 GB, free: 117 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/1.537, allocations: 1.765 MB / 1.003 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/1.537, allocations: 3.906 kB / 1.003 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.538, allocations: 0 / 1.003 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/1.538, allocations: 90.81 kB / 1.003 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008019/1.546, allocations: 5.77 MB / 1.009 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/1.548, allocations: 2.024 MB / 1.011 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/1.549, allocations: 1.084 MB / 1.012 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009977/1.55, allocations: 0.8362 MB / 1.013 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/1.55, allocations: 56.56 kB / 1.013 GB, free: 105 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=187): time 2.956e-06/1.55, allocations: 0 / 1.013 GB, free: 105 MB / 0.5573 GB Notification: Performance of matching and sorting (n=187): time 0.009376/1.56, allocations: 3.402 MB / 1.016 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/1.56, allocations: 73.41 kB / 1.016 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/1.56, allocations: 355.5 kB / 1.016 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/1.56, allocations: 29.7 kB / 1.016 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/1.56, allocations: 416 kB / 1.017 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/1.561, allocations: 0.5926 MB / 1.017 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/1.561, allocations: 0 / 1.017 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.908e-05/1.561, allocations: 394.8 kB / 1.018 GB, free: 99.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/1.562, allocations: 0.8161 MB / 1.019 GB, free: 98.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.563, allocations: 1.025 MB / 1.02 GB, free: 97.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/1.565, allocations: 1.208 MB / 1.021 GB, free: 96.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.565, allocations: 7.938 kB / 1.021 GB, free: 96.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.009635/1.574, allocations: 3.695 MB / 1.024 GB, free: 92.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.574, allocations: 7.906 kB / 1.024 GB, free: 92.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.574, allocations: 4 kB / 1.024 GB, free: 92.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008083/1.582, allocations: 1.725 MB / 1.026 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.584, allocations: 339.5 kB / 1.026 GB, free: 90.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/1.586, allocations: 1.625 MB / 1.028 GB, free: 89.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.587, allocations: 170.3 kB / 1.028 GB, free: 89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/1.587, allocations: 71.97 kB / 1.028 GB, free: 88.93 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.0002867/1.587, allocations: 132.7 kB / 1.028 GB, free: 88.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.588, allocations: 86.97 kB / 1.028 GB, free: 88.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009928/1.598, allocations: 3.771 MB / 1.032 GB, free: 84.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.598, allocations: 20 kB / 1.032 GB, free: 84.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.598, allocations: 7.906 kB / 1.032 GB, free: 84.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.598, allocations: 11.95 kB / 1.032 GB, free: 84.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.61, allocations: 7.208 MB / 1.039 GB, free: 77.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.61, allocations: 8 kB / 1.039 GB, free: 77.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.611, allocations: 296.1 kB / 1.04 GB, free: 77.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007614/1.619, allocations: 1.66 MB / 1.041 GB, free: 75.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/1.619, allocations: 27.98 kB / 1.041 GB, free: 75.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/1.621, allocations: 1.665 MB / 1.043 GB, free: 73.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.621, allocations: 23.84 kB / 1.043 GB, free: 73.78 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009695/1.63, allocations: 4.575 MB / 1.047 GB, free: 68.75 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009636/1.64, allocations: 5.003 MB / 1.052 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/1.64, allocations: 211.6 kB / 1.052 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/1.641, allocations: 15.91 kB / 1.052 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.642, allocations: 67.88 kB / 1.052 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.642, allocations: 140.9 kB / 1.053 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.642, allocations: 75.97 kB / 1.053 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0002368/1.642, allocations: 263.1 kB / 1.053 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00223/1.645, allocations: 0.5537 MB / 1.053 GB, free: 61.95 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.001464/1.646, allocations: 1.041 MB / 1.054 GB, free: 60.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002618/1.649, allocations: 2.034 MB / 1.056 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.649, allocations: 4 kB / 1.056 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/1.65, allocations: 1.096 MB / 1.058 GB, free: 57.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/1.651, allocations: 136.6 kB / 1.058 GB, free: 57.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/1.655, allocations: 2.735 MB / 1.06 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.656, allocations: 1.379 MB / 1.062 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of SimCode: time 7.32e-07/1.656, allocations: 0 / 1.062 GB, free: 53.32 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Compressor_CompressorSimpleSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Compressor.CompressorSimpleSystem.pipe 2>&1)