Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Functions.Test.TestTimeConstants,fileNamePrefix="PowerGrids_PowerGrids_Functions_Test_TestTimeConstants",fmuType="me",version="2.0",platforms={"static"}) [: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/Complex 3.2.3+maint.om/package.mo): time 0.00314/0.00314, allocations: 181.4 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 96.92 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05762/0.05762, allocations: 14.03 MB / 323 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2283/0.2859, allocations: 57.22 MB / 380.3 MB, free: 74.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.3843, allocations: 51.1 MB / 431.4 MB, free: 23.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.6996, allocations: 75.38 MB / 0.4949 GB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.6999, allocations: 66.08 kB / 0.4949 GB, free: 11.02 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.003307/0.7032, allocations: 1.2 MB / 0.4961 GB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.7033, allocations: 11.47 kB / 0.4961 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.7033, allocations: 0.75 kB / 0.4961 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/0.7034, allocations: 167.9 kB / 0.4963 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.7034, allocations: 4 kB / 0.4963 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.7035, allocations: 3.984 kB / 0.4963 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.038e-05/0.7035, allocations: 3.938 kB / 0.4963 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.232e-05/0.7036, allocations: 41.14 kB / 0.4963 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7036, allocations: 3.656 kB / 0.4963 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7036, allocations: 0 / 0.4963 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.7037, allocations: 0 / 0.4963 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.704, allocations: 445.6 kB / 0.4967 GB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.638e-05/0.7041, allocations: 172.5 kB / 0.4969 GB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.7041, allocations: 84.08 kB / 0.497 GB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.7042, allocations: 75.28 kB / 0.4971 GB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.7042, allocations: 113.6 kB / 0.4972 GB, free: 9.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.7042, allocations: 0 / 0.4972 GB, free: 9.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.587e-05/0.7043, allocations: 26.88 kB / 0.4972 GB, free: 9.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.7043, allocations: 51.41 kB / 0.4972 GB, free: 9.367 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.7044, allocations: 93.8 kB / 0.4973 GB, free: 9.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.7044, allocations: 26.45 kB / 0.4974 GB, free: 9.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.7045, allocations: 87.98 kB / 0.4974 GB, free: 9.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.7045, allocations: 128 / 0.4974 GB, free: 9.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.7045, allocations: 4 kB / 0.4975 GB, free: 9.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.7046, allocations: 316.3 kB / 0.4978 GB, free: 8.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.7046, allocations: 3.719 kB / 0.4978 GB, free: 8.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.7046, allocations: 17.09 kB / 0.4978 GB, free: 8.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/0.7047, allocations: 3.906 kB / 0.4978 GB, free: 8.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7047, allocations: 3.938 kB / 0.4978 GB, free: 8.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.7048, allocations: 40.2 kB / 0.4978 GB, free: 8.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.7048, allocations: 3.906 kB / 0.4978 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7048, allocations: 0 / 0.4978 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.7049, allocations: 0 / 0.4978 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.705, allocations: 4.609 kB / 0.4978 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.705, allocations: 0 / 0.4978 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.705, allocations: 7.906 kB / 0.4978 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.705, allocations: 3.5 kB / 0.4978 GB, free: 8.773 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.412e-05/0.7051, allocations: 181.1 kB / 0.498 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.7051, allocations: 110.2 kB / 0.4981 GB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.7052, allocations: 112.7 kB / 0.4982 GB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.425e-05/0.7053, allocations: 180.2 kB / 0.4984 GB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-05/0.7053, allocations: 176.3 kB / 0.4986 GB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.494e-05/0.7054, allocations: 178 kB / 0.4987 GB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.7055, allocations: 390.7 kB / 0.4991 GB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.7056, allocations: 102.3 kB / 0.4992 GB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.7056, allocations: 104.1 kB / 0.4993 GB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.155e-05/0.7057, allocations: 185.4 kB / 0.4995 GB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.7057, allocations: 180.3 kB / 0.4997 GB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.335e-05/0.7058, allocations: 177.4 kB / 0.4998 GB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.096e-05/0.7058, allocations: 185.7 kB / 0.5 GB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001136/0.706, allocations: 303.7 kB / 0.5003 GB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001963/0.7062, allocations: 0.6716 MB / 0.5009 GB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.7062, allocations: 183.3 kB / 0.5011 GB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.7063, allocations: 184.1 kB / 0.5013 GB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.7064, allocations: 106.1 kB / 0.5014 GB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.7065, allocations: 176.3 kB / 0.5016 GB, free: 20.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.7065, allocations: 109.9 kB / 0.5017 GB, free: 20.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.759e-05/0.7066, allocations: 83.22 kB / 0.5017 GB, free: 20.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009811/0.7076, allocations: 3.781 kB / 0.5018 GB, free: 20.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001153/0.7077, allocations: 164 kB / 0.5019 GB, free: 20.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.585e-05/0.7078, allocations: 4.172 kB / 0.5019 GB, free: 20.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7078, allocations: 0 / 0.5019 GB, free: 20.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.7078, allocations: 3.906 kB / 0.5019 GB, free: 20.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.708, allocations: 0.5292 MB / 0.5024 GB, free: 19.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001775/0.7082, allocations: 117.5 kB / 0.5025 GB, free: 19.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.7085, allocations: 0.6863 MB / 0.5032 GB, free: 19.07 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7085, allocations: 0 / 0.5032 GB, free: 19.07 MB / 346.7 MB (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Functions_Test_TestTimeConstants_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Functions_Test_TestTimeConstants.fmu > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)