Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_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.TransmissionLineModelica_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_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.0009096/0.0009096, allocations: 183.9 kB / 8.135 MB, free: 2.219 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.004/1.004, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.000827/0.0008271, allocations: 95.81 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5636/0.5636, allocations: 120.4 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2936/0.8572, allocations: 89.71 MB / 0.529 GB, free: 51.67 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.953, allocations: 82.85 MB / 0.6099 GB, free: 2.695 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/1.358, allocations: 127.8 MB / 0.7348 GB, free: 1.312 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001425/1.358, allocations: 66.78 kB / 0.7348 GB, free: 1.281 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.04007/1.398, allocations: 17.67 MB / 0.7521 GB, free: 2.246 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/1.398, allocations: 8 kB / 0.7521 GB, free: 2.238 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/1.398, allocations: 114.7 kB / 0.7522 GB, free: 2.125 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.399, allocations: 0.6751 MB / 0.7529 GB, free: 1.547 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/1.399, allocations: 32 kB / 0.7529 GB, free: 1.516 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/1.399, allocations: 70.91 kB / 0.7529 GB, free: 1.449 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001509/1.401, allocations: 1.106 MB / 0.754 GB, free: 0.7227 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.402, allocations: 1.086 MB / 0.7551 GB, free: 15.94 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.402, allocations: 3.906 kB / 0.7551 GB, free: 15.94 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/1.403, allocations: 0 / 0.7551 GB, free: 15.94 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/1.403, allocations: 24 kB / 0.7551 GB, free: 15.91 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/1.408, allocations: 4.089 MB / 0.7591 GB, free: 12.7 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/1.409, allocations: 0.5552 MB / 0.7597 GB, free: 12.31 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/1.409, allocations: 0.6653 MB / 0.7603 GB, free: 11.86 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/1.409, allocations: 8.656 kB / 0.7603 GB, free: 11.86 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/1.41, allocations: 46.78 kB / 0.7604 GB, free: 11.81 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=76): time 1.803e-06/1.41, allocations: 0 / 0.7604 GB, free: 11.81 MB / 0.5265 GB Notification: Performance of matching and sorting (n=76): time 0.001015/1.411, allocations: 0.8318 MB / 0.7612 GB, free: 11.18 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/1.411, allocations: 64 kB / 0.7612 GB, free: 11.1 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/1.411, allocations: 0.5635 MB / 0.7618 GB, free: 10.68 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/1.411, allocations: 29.7 kB / 0.7618 GB, free: 10.64 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.411, allocations: 361.8 kB / 0.7622 GB, free: 10.32 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/1.412, allocations: 272.2 kB / 0.7624 GB, free: 10.09 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/1.412, allocations: 4 kB / 0.7624 GB, free: 10.08 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.412, allocations: 382.5 kB / 0.7628 GB, free: 9.727 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/1.412, allocations: 465.5 kB / 0.7632 GB, free: 9.426 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/1.413, allocations: 0.5334 MB / 0.7637 GB, free: 9.051 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/1.413, allocations: 0.5578 MB / 0.7643 GB, free: 8.676 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.413, allocations: 4 kB / 0.7643 GB, free: 8.672 MB / 0.5265 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001296/1.415, allocations: 1.159 MB / 0.7654 GB, free: 7.809 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/1.415, allocations: 4 kB / 0.7654 GB, free: 7.805 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.415, allocations: 4 kB / 0.7654 GB, free: 7.801 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.415, allocations: 7.906 kB / 0.7654 GB, free: 7.793 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/1.416, allocations: 255.7 kB / 0.7657 GB, free: 7.551 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.416, allocations: 8 kB / 0.7657 GB, free: 7.543 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/1.416, allocations: 63.25 kB / 0.7658 GB, free: 7.48 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/1.416, allocations: 30.19 kB / 0.7658 GB, free: 7.461 MB / 0.5265 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 (113): * Single equations (assignments): 113 * 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.0001178/1.416, allocations: 120.7 kB / 0.7659 GB, free: 7.336 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.416, allocations: 67.25 kB / 0.766 GB, free: 7.27 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/1.417, allocations: 85.08 kB / 0.766 GB, free: 7.23 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.417, allocations: 8 kB / 0.766 GB, free: 7.223 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.417, allocations: 0 / 0.766 GB, free: 7.223 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.417, allocations: 3.984 kB / 0.7661 GB, free: 7.219 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/1.417, allocations: 0.9424 MB / 0.767 GB, free: 6.484 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.417, allocations: 0 / 0.767 GB, free: 6.484 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.418, allocations: 230.7 kB / 0.7672 GB, free: 6.266 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/1.419, allocations: 3.938 kB / 0.7672 GB, free: 6.262 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/1.419, allocations: 27.72 kB / 0.7672 GB, free: 6.242 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.419, allocations: 4 kB / 0.7672 GB, free: 6.238 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.419, allocations: 0 / 0.7672 GB, free: 6.238 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001419/1.42, allocations: 1.428 MB / 0.7686 GB, free: 5.184 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001942/1.422, allocations: 2.371 MB / 0.7709 GB, free: 3.379 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.422, allocations: 163.8 kB / 0.7711 GB, free: 3.215 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.422, allocations: 19.77 kB / 0.7711 GB, free: 3.199 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/1.423, allocations: 71.92 kB / 0.7712 GB, free: 3.129 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/1.423, allocations: 35.66 kB / 0.7712 GB, free: 3.098 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/1.423, allocations: 23.69 kB / 0.7712 GB, free: 3.082 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.0003983/1.423, allocations: 445.5 kB / 0.7717 GB, free: 2.773 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001052/1.424, allocations: 263.1 kB / 0.7719 GB, free: 2.516 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (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.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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0001569/1.425, allocations: 134.6 kB / 0.772 GB, free: 2.379 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0009803/1.426, allocations: 0.9567 MB / 0.773 GB, free: 1.707 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.426, allocations: 0 / 0.773 GB, free: 1.707 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004223/1.426, allocations: 449.3 kB / 0.7734 GB, free: 1.398 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/1.426, allocations: 89.33 kB / 0.7735 GB, free: 1.332 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/1.431, allocations: 3.046 MB / 0.7765 GB, free: 14.52 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008966/1.432, allocations: 1.35 MB / 0.7778 GB, free: 13.23 MB / 0.5421 GB Notification: Performance of SimCode: time 2.41e-07/1.432, allocations: 0 / 0.7778 GB, free: 13.23 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_10_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe 2>&1)