Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.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(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33: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.0009404/0.0009404, allocations: 182.7 kB / 8.136 MB, free: 2.188 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.026/1.026, allocations: 221.4 MB / 229.9 MB, free: 3.066 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.0009008/0.0009009, allocations: 97.75 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5773/0.5773, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2902/0.8675, allocations: 89.71 MB / 0.529 GB, free: 51.66 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.965, allocations: 82.85 MB / 0.6099 GB, free: 2.734 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/1.369, allocations: 127.8 MB / 0.7348 GB, free: 1.656 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001408/1.369, allocations: 65.84 kB / 0.7348 GB, free: 1.625 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.07486/1.444, allocations: 32.22 MB / 0.7663 GB, free: 6.176 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/1.444, allocations: 8 kB / 0.7663 GB, free: 6.168 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/1.444, allocations: 209.7 kB / 0.7665 GB, free: 5.961 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.446, allocations: 1.128 MB / 0.7676 GB, free: 5.059 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/1.446, allocations: 56 kB / 0.7677 GB, free: 5.004 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/1.446, allocations: 134.5 kB / 0.7678 GB, free: 4.879 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00279/1.449, allocations: 2.145 MB / 0.7699 GB, free: 3.465 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/1.452, allocations: 2.073 MB / 0.7719 GB, free: 2 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.452, allocations: 0 / 0.7719 GB, free: 2 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/1.452, allocations: 0 / 0.7719 GB, free: 2 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/1.452, allocations: 44 kB / 0.772 GB, free: 1.957 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/1.462, allocations: 7.741 MB / 0.7795 GB, free: 11.93 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.464, allocations: 1.076 MB / 0.7806 GB, free: 11.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/1.465, allocations: 1.37 MB / 0.7819 GB, free: 10.26 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/1.465, allocations: 13.31 kB / 0.7819 GB, free: 10.25 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/1.465, allocations: 51.5 kB / 0.782 GB, free: 10.2 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=146): time 2.174e-06/1.465, allocations: 0 / 0.782 GB, free: 10.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=146): time 0.001851/1.467, allocations: 1.588 MB / 0.7835 GB, free: 9.023 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/1.467, allocations: 76.66 kB / 0.7836 GB, free: 8.938 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/1.468, allocations: 0.9875 MB / 0.7846 GB, free: 8.227 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/1.468, allocations: 29.7 kB / 0.7846 GB, free: 8.191 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.468, allocations: 0.5669 MB / 0.7851 GB, free: 7.676 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/1.469, allocations: 0.5168 MB / 0.7856 GB, free: 7.223 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/1.469, allocations: 0 / 0.7856 GB, free: 7.223 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.469, allocations: 432.7 kB / 0.7861 GB, free: 6.836 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009926/1.47, allocations: 0.8967 MB / 0.7869 GB, free: 6.242 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.471, allocations: 1.022 MB / 0.7879 GB, free: 5.539 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.472, allocations: 1.088 MB / 0.789 GB, free: 4.801 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.472, allocations: 0.9375 kB / 0.789 GB, free: 4.801 MB / 0.5421 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002528/1.475, allocations: 2.23 MB / 0.7912 GB, free: 3.164 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/1.475, allocations: 4 kB / 0.7912 GB, free: 3.16 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.475, allocations: 0 / 0.7912 GB, free: 3.16 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.475, allocations: 8 kB / 0.7912 GB, free: 3.152 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.476, allocations: 488.7 kB / 0.7916 GB, free: 2.688 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.476, allocations: 11.91 kB / 0.7917 GB, free: 2.676 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/1.477, allocations: 130.5 kB / 0.7918 GB, free: 2.547 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/1.477, allocations: 47.62 kB / 0.7918 GB, free: 2.512 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 213 * 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.0001782/1.477, allocations: 120.7 kB / 0.7919 GB, free: 2.387 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/1.478, allocations: 126.4 kB / 0.7921 GB, free: 2.266 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/1.478, allocations: 149.9 kB / 0.7922 GB, free: 2.207 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.478, allocations: 12 kB / 0.7922 GB, free: 2.195 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.478, allocations: 4 kB / 0.7922 GB, free: 2.191 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.478, allocations: 11.89 kB / 0.7922 GB, free: 2.18 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/1.48, allocations: 1.723 MB / 0.7939 GB, free: 0.8945 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.48, allocations: 0 / 0.7939 GB, free: 0.8945 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.482, allocations: 440.5 kB / 0.7943 GB, free: 488 kB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.482, allocations: 4 kB / 0.7943 GB, free: 484 kB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/1.482, allocations: 47.2 kB / 0.7944 GB, free: 452 kB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/1.482, allocations: 8 kB / 0.7944 GB, free: 444 kB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.482, allocations: 0 / 0.7944 GB, free: 444 kB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002687/1.484, allocations: 2.696 MB / 0.797 GB, free: 14.48 MB / 0.5578 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003771/1.488, allocations: 4.164 MB / 0.8011 GB, free: 11.45 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/1.488, allocations: 234.5 kB / 0.8013 GB, free: 11.23 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.489, allocations: 43.41 kB / 0.8014 GB, free: 11.2 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.49, allocations: 131.9 kB / 0.8015 GB, free: 11.07 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.49, allocations: 68.89 kB / 0.8015 GB, free: 11.01 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/1.49, allocations: 43.05 kB / 0.8016 GB, free: 10.98 MB / 0.5578 GB Notification: Performance of sort global known variables: time 0.0007243/1.491, allocations: 0.7586 MB / 0.8023 GB, free: 10.45 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001392/1.492, allocations: 490.2 kB / 0.8028 GB, free: 9.973 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 42 (lowpassfilter.y,lowpassfilter.yd,transmissionline.L[1].i,transmissionline.L[2].i,transmissionline.L[3].i,transmissionline.L[4].i,transmissionline.L[5].i,transmissionline.L[6].i,transmissionline.L[7].i,transmissionline.L[8].i,transmissionline.L[9].i,transmissionline.L[10].i,transmissionline.L[11].i,transmissionline.L[12].i,transmissionline.L[13].i,transmissionline.L[14].i,transmissionline.L[15].i,transmissionline.L[16].i,transmissionline.L[17].i,transmissionline.L[18].i,transmissionline.L[19].i,transmissionline.L[20].i,transmissionline.C[1].v,transmissionline.C[2].v,transmissionline.C[3].v,transmissionline.C[4].v,transmissionline.C[5].v,transmissionline.C[6].v,transmissionline.C[7].v,transmissionline.C[8].v,transmissionline.C[9].v,transmissionline.C[10].v,transmissionline.C[11].v,transmissionline.C[12].v,transmissionline.C[13].v,transmissionline.C[14].v,transmissionline.C[15].v,transmissionline.C[16].v,transmissionline.C[17].v,transmissionline.C[18].v,transmissionline.C[19].v,transmissionline.C[20].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 146 * 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.0002011/1.492, allocations: 149.4 kB / 0.8029 GB, free: 9.812 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.001914/1.494, allocations: 1.876 MB / 0.8048 GB, free: 8.512 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.494, allocations: 192 / 0.8048 GB, free: 8.512 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.0008264/1.495, allocations: 0.8603 MB / 0.8056 GB, free: 7.906 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/1.496, allocations: 168.5 kB / 0.8058 GB, free: 7.781 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/1.504, allocations: 5.975 MB / 0.8116 GB, free: 2.301 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/1.505, allocations: 1.942 MB / 0.8135 GB, free: 0.5117 MB / 0.5578 GB Notification: Performance of SimCode: time 2.5e-07/1.505, allocations: 0 / 0.8135 GB, free: 0.5117 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe 2>&1)