Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7924/0.7924, allocations: 141.8 MB / 149.1 MB, free: 4.559 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 172.9 kB / 181.9 MB, free: 204 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.3 MB / 436 MB, free: 9.375 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.67 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 284.8 kB / 0.5885 GB, free: 12.35 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.198e-06/9.308e-06, allocations: 0 / 0.6759 GB, free: 2.715 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4836, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.6107, allocations: 114.5 MB / 0.8685 GB, free: 14.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.6111, allocations: 88.84 kB / 0.8686 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.02665/0.6378, allocations: 7.959 MB / 0.8764 GB, free: 6.301 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.6378, allocations: 0 / 0.8764 GB, free: 6.301 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009588/0.6388, allocations: 0.4942 MB / 0.8769 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6389, allocations: 8.031 kB / 0.8769 GB, free: 5.754 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.64, allocations: 151.7 kB / 0.877 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.6402, allocations: 177.3 kB / 0.8772 GB, free: 5.395 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.6404, allocations: 49.59 kB / 0.8772 GB, free: 5.34 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.6404, allocations: 8 kB / 0.8772 GB, free: 5.332 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003718/0.6408, allocations: 168 kB / 0.8774 GB, free: 5.168 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.6411, allocations: 157.4 kB / 0.8775 GB, free: 5.008 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6411, allocations: 7.938 kB / 0.8775 GB, free: 5 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.6412, allocations: 0 / 0.8775 GB, free: 5 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6412, allocations: 4 kB / 0.8776 GB, free: 4.996 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.6429, allocations: 0.9357 MB / 0.8785 GB, free: 3.949 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.6431, allocations: 126.7 kB / 0.8786 GB, free: 3.816 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.6433, allocations: 88.78 kB / 0.8787 GB, free: 3.727 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.6441, allocations: 0.5259 MB / 0.8792 GB, free: 3.09 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.6441, allocations: 34.56 kB / 0.8792 GB, free: 3.047 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=16): time 3.386e-06/0.6441, allocations: 0 / 0.8792 GB, free: 3.047 MB / 0.5419 GB Notification: Performance of matching and sorting (n=16): time 0.0007734/0.6449, allocations: 213.7 kB / 0.8794 GB, free: 2.832 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.6449, allocations: 55.41 kB / 0.8795 GB, free: 2.766 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6451, allocations: 116.9 kB / 0.8796 GB, free: 2.645 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.6451, allocations: 25.7 kB / 0.8796 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.6452, allocations: 120.1 kB / 0.8797 GB, free: 2.492 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.6453, allocations: 59.19 kB / 0.8798 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.6453, allocations: 0 / 0.8798 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6454, allocations: 318.8 kB / 0.8801 GB, free: 2.113 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.6456, allocations: 72.36 kB / 0.8802 GB, free: 2.039 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.6457, allocations: 82.47 kB / 0.8802 GB, free: 1.953 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.6462, allocations: 106.3 kB / 0.8803 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6462, allocations: 6.062 kB / 0.8803 GB, free: 1.848 MB / 0.5419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000704/0.6469, allocations: 244.5 kB / 0.8806 GB, free: 1.605 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.647, allocations: 4 kB / 0.8806 GB, free: 1.602 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.647, allocations: 0 / 0.8806 GB, free: 1.602 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.647, allocations: 4 kB / 0.8806 GB, free: 1.598 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.6474, allocations: 55.89 kB / 0.8806 GB, free: 1.543 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6474, allocations: 4.031 kB / 0.8806 GB, free: 1.539 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.6477, allocations: 27.83 kB / 0.8807 GB, free: 1.512 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.6478, allocations: 4 kB / 0.8807 GB, free: 1.508 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001261/0.6479, allocations: 112.9 kB / 0.8808 GB, free: 1.391 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.6479, allocations: 15.81 kB / 0.8808 GB, free: 1.375 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/0.6487, allocations: 228 kB / 0.881 GB, free: 1.152 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6487, allocations: 4 kB / 0.881 GB, free: 1.148 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6488, allocations: 4 kB / 0.881 GB, free: 1.145 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6488, allocations: 3.984 kB / 0.881 GB, free: 1.141 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.6505, allocations: 1.009 MB / 0.882 GB, free: 15.98 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6506, allocations: 4.062 kB / 0.882 GB, free: 15.98 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.6509, allocations: 47.89 kB / 0.8821 GB, free: 15.93 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6509, allocations: 0 / 0.8821 GB, free: 15.93 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.6509, allocations: 0 / 0.8821 GB, free: 15.93 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6509, allocations: 4 kB / 0.8821 GB, free: 15.93 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.651, allocations: 0 / 0.8821 GB, free: 15.93 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006723/0.6516, allocations: 356.4 kB / 0.8824 GB, free: 15.55 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.6517, allocations: 93 kB / 0.8825 GB, free: 15.44 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.6518, allocations: 0 / 0.8825 GB, free: 15.44 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.6521, allocations: 27.97 kB / 0.8825 GB, free: 15.41 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.6522, allocations: 11.89 kB / 0.8825 GB, free: 15.4 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.6522, allocations: 11.98 kB / 0.8825 GB, free: 15.39 MB / 0.5575 GB Notification: Performance of sort global known variables: time 6.395e-05/0.6523, allocations: 95.22 kB / 0.8826 GB, free: 15.3 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0005409/0.6528, allocations: 135.8 kB / 0.8828 GB, free: 15.16 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0006171/0.6534, allocations: 246.8 kB / 0.883 GB, free: 14.92 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.6538, allocations: 159.9 kB / 0.8831 GB, free: 14.76 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6538, allocations: 0 / 0.8831 GB, free: 14.76 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.6539, allocations: 84.06 kB / 0.8832 GB, free: 14.68 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.6542, allocations: 22.61 kB / 0.8832 GB, free: 14.66 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.6549, allocations: 217.8 kB / 0.8835 GB, free: 14.41 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/0.6554, allocations: 0.7506 MB / 0.8842 GB, free: 13.64 MB / 0.5575 GB Notification: Performance of SimCode: time 2.41e-07/0.6554, allocations: 0 / 0.8842 GB, free: 13.64 MB / 0.5575 GB Notification: Performance of Templates: time 0.009021/0.6644, allocations: 4.486 MB / 0.8886 GB, free: 9.227 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)