Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [: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/Annex60 1.0.0/package.mo): time 0.2804/0.2804, allocations: 54.39 MB / 61.68 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00116/0.00116, allocations: 185 kB / 75.37 MB, free: 1.516 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.419/1.419, allocations: 194.2 MB / 283.2 MB, free: 3.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001483/0.001483, allocations: 108.2 kB / 341.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.099e-05/1.148e-05, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 57.64 MB / 462.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.43/4.551, allocations: 2.129 GB / 2.58 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/4.552, allocations: 87.95 kB / 2.581 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.4043/4.956, allocations: 79.42 MB / 2.658 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.921e-05/4.956, allocations: 40.88 kB / 2.658 GB, free: 141.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003018/4.959, allocations: 1.738 MB / 2.66 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/4.959, allocations: 11.5 kB / 2.66 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/4.969, allocations: 1.146 MB / 2.661 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/4.972, allocations: 0.875 MB / 2.662 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/4.972, allocations: 41.25 kB / 2.662 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/4.972, allocations: 78.53 kB / 2.662 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003041/4.975, allocations: 2.034 MB / 2.664 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/4.977, allocations: 1.371 MB / 2.665 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/4.977, allocations: 2.375 kB / 2.665 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/4.977, allocations: 0 / 2.665 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/4.977, allocations: 32.75 kB / 2.665 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/4.988, allocations: 4.722 MB / 2.67 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/4.99, allocations: 1.456 MB / 2.671 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007799/4.991, allocations: 0.5585 MB / 2.672 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/4.991, allocations: 0.4975 MB / 2.672 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/4.992, allocations: 0.8369 MB / 2.673 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=137): time 3.757e-06/4.993, allocations: 0 / 2.673 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137): time 0.004385/4.997, allocations: 1.566 MB / 2.675 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/4.997, allocations: 305.4 kB / 2.675 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/4.998, allocations: 0.7567 MB / 2.676 GB, free: 137 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/4.998, allocations: 31.58 kB / 2.676 GB, free: 137 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/4.999, allocations: 405.1 kB / 2.676 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/4.999, allocations: 438.1 kB / 2.677 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/4.999, allocations: 0 / 2.677 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/4.999, allocations: 351.4 kB / 2.677 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007151/5, allocations: 489.2 kB / 2.677 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/5.001, allocations: 0.6455 MB / 2.678 GB, free: 136 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/5.003, allocations: 0.7155 MB / 2.679 GB, free: 136 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/5.003, allocations: 0 / 2.679 GB, free: 136 MB / 0.4948 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004242/5.007, allocations: 1.686 MB / 2.68 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/5.007, allocations: 2.781 kB / 2.68 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/5.007, allocations: 5.531 kB / 2.68 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/5.008, allocations: 171.8 kB / 2.681 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/5.012, allocations: 0.5502 MB / 2.681 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/5.016, allocations: 2.917 MB / 2.684 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/5.019, allocations: 257 kB / 2.684 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/5.019, allocations: 75.78 kB / 2.684 GB, free: 133.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim1.tStart,$PRE.weaDatInpCon.conTim.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003837/5.019, allocations: 132.1 kB / 2.684 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/5.02, allocations: 126.6 kB / 2.684 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005934/5.026, allocations: 2.223 MB / 2.687 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/5.026, allocations: 15 kB / 2.687 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/5.026, allocations: 3.594 kB / 2.687 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/5.026, allocations: 10.28 kB / 2.687 GB, free: 133 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/5.028, allocations: 1.363 MB / 2.688 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/5.028, allocations: 7.594 kB / 2.688 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004115/5.032, allocations: 0.5478 MB / 2.689 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/5.033, allocations: 164.3 kB / 2.689 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/5.033, allocations: 46.94 kB / 2.689 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/5.036, allocations: 2.968 MB / 2.692 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/5.036, allocations: 2.125 kB / 2.692 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004335/5.04, allocations: 1.738 MB / 2.693 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008595/5.041, allocations: 0.4895 MB / 2.694 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/5.041, allocations: 0 / 2.694 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002654/5.044, allocations: 229.2 kB / 2.694 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/5.044, allocations: 96.23 kB / 2.694 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/5.045, allocations: 73.89 kB / 2.694 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000779/5.045, allocations: 0.5967 MB / 2.695 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001962/5.047, allocations: 0.5699 MB / 2.695 GB, free: 129.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTim1.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 4 (weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/5.05, allocations: 1.386 MB / 2.697 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002656/5.052, allocations: 1.59 MB / 2.698 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/5.052, allocations: 0 / 2.698 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/5.054, allocations: 0.9374 MB / 2.699 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/5.056, allocations: 296.3 kB / 2.699 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/5.063, allocations: 2.48 MB / 2.702 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/5.065, allocations: 1.48 MB / 2.703 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/5.065, allocations: 0 / 2.703 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.05673/5.121, allocations: 31.12 MB / 2.734 GB, free: 114.5 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)