Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",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.0009206/0.0009207, allocations: 182.7 kB / 8.132 MB, free: 2.164 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.002/1.002, allocations: 221.4 MB / 229.9 MB, free: 3.094 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.000824/0.000824, allocations: 100.9 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.5516/0.5516, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2856/0.8372, allocations: 89.73 MB / 0.529 GB, free: 51.71 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.9301, allocations: 82.83 MB / 0.6099 GB, free: 2.738 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/1.316, allocations: 124.6 MB / 0.7316 GB, free: 4.559 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001339/1.316, allocations: 57.59 kB / 0.7317 GB, free: 4.539 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.007404/1.323, allocations: 2.757 MB / 0.7344 GB, free: 2.309 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/1.323, allocations: 8 kB / 0.7344 GB, free: 2.301 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/1.323, allocations: 19.81 kB / 0.7344 GB, free: 2.281 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/1.324, allocations: 217.4 kB / 0.7346 GB, free: 2.031 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/1.324, allocations: 4 kB / 0.7346 GB, free: 2.027 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/1.324, allocations: 23.47 kB / 0.7347 GB, free: 2.008 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001567/1.324, allocations: 106.1 kB / 0.7348 GB, free: 1.93 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/1.324, allocations: 171 kB / 0.7349 GB, free: 1.781 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.324, allocations: 3.984 kB / 0.7349 GB, free: 1.777 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/1.324, allocations: 0 / 0.7349 GB, free: 1.777 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/1.324, allocations: 8 kB / 0.7349 GB, free: 1.77 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008613/1.325, allocations: 0.5681 MB / 0.7355 GB, free: 1.203 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/1.325, allocations: 219.6 kB / 0.7357 GB, free: 1.031 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/1.325, allocations: 91.64 kB / 0.7358 GB, free: 0.9648 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/1.325, allocations: 4.188 kB / 0.7358 GB, free: 0.9609 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.175e-06/1.325, allocations: 30.75 kB / 0.7358 GB, free: 0.9219 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=22): time 1.082e-06/1.325, allocations: 4 kB / 0.7358 GB, free: 0.918 MB / 0.4953 GB Notification: Performance of matching and sorting (n=22): time 0.0003021/1.326, allocations: 225 kB / 0.736 GB, free: 0.7344 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.09e-05/1.326, allocations: 51.41 kB / 0.7361 GB, free: 0.6719 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/1.326, allocations: 119.4 kB / 0.7362 GB, free: 0.5586 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/1.326, allocations: 26.08 kB / 0.7362 GB, free: 0.5273 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/1.326, allocations: 96.62 kB / 0.7363 GB, free: 436 kB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/1.326, allocations: 102 kB / 0.7364 GB, free: 348 kB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/1.326, allocations: 3.938 kB / 0.7364 GB, free: 344 kB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/1.326, allocations: 333.6 kB / 0.7367 GB, free: 16.01 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/1.326, allocations: 111.2 kB / 0.7368 GB, free: 15.93 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/1.326, allocations: 102.8 kB / 0.7369 GB, free: 15.85 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/1.326, allocations: 129.2 kB / 0.7371 GB, free: 15.75 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.326, allocations: 0 / 0.7371 GB, free: 15.75 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003876/1.327, allocations: 312.8 kB / 0.7374 GB, free: 15.49 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/1.327, allocations: 4 kB / 0.7374 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/1.327, allocations: 1.328 kB / 0.7374 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/1.327, allocations: 4 kB / 0.7374 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/1.327, allocations: 111 kB / 0.7375 GB, free: 15.38 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/1.327, allocations: 4 kB / 0.7375 GB, free: 15.37 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/1.327, allocations: 19.73 kB / 0.7375 GB, free: 15.35 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/1.327, allocations: 11.56 kB / 0.7375 GB, free: 15.34 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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 6.203e-05/1.327, allocations: 104.9 kB / 0.7376 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/1.327, allocations: 15.81 kB / 0.7376 GB, free: 15.22 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/1.328, allocations: 23.03 kB / 0.7376 GB, free: 15.22 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.328, allocations: 9.438 kB / 0.7377 GB, free: 15.21 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.328, allocations: 0 / 0.7377 GB, free: 15.21 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.328, allocations: 0 / 0.7377 GB, free: 15.21 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/1.328, allocations: 249.1 kB / 0.7379 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.328, allocations: 0 / 0.7379 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/1.328, allocations: 107.8 kB / 0.738 GB, free: 14.85 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.328, allocations: 0 / 0.738 GB, free: 14.85 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/1.329, allocations: 11.98 kB / 0.738 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.329, allocations: 0 / 0.738 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.329, allocations: 3.906 kB / 0.738 GB, free: 14.83 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003997/1.329, allocations: 410.5 kB / 0.7384 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005698/1.33, allocations: 0.8788 MB / 0.7393 GB, free: 13.68 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/1.33, allocations: 92.86 kB / 0.7393 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/1.33, allocations: 11.98 kB / 0.7394 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/1.33, allocations: 11.92 kB / 0.7394 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/1.33, allocations: 7.984 kB / 0.7394 GB, free: 13.54 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/1.33, allocations: 7.984 kB / 0.7394 GB, free: 13.53 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.564e-05/1.33, allocations: 102.3 kB / 0.7395 GB, free: 13.44 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007667/1.331, allocations: 55.91 kB / 0.7395 GB, free: 13.38 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 9.408e-05/1.331, allocations: 110.5 kB / 0.7396 GB, free: 13.27 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0002924/1.331, allocations: 248.2 kB / 0.7399 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/1.331, allocations: 0 / 0.7399 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/1.331, allocations: 108.6 kB / 0.74 GB, free: 13 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/1.331, allocations: 12.5 kB / 0.74 GB, free: 12.99 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/1.333, allocations: 1.44 MB / 0.7414 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/1.333, allocations: 0.8197 MB / 0.7422 GB, free: 10.7 MB / 0.5109 GB Notification: Performance of SimCode: time 2.51e-07/1.333, allocations: 0 / 0.7422 GB, free: 10.7 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1)