Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",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 trunk/package.mo): time 0.0011/0.0011, allocations: 201.5 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008649/0.0008649, allocations: 90.59 kB / 286.3 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1613/0.1613, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1855/0.3469, allocations: 69.36 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.429, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.6772, allocations: 86.4 MB / 0.5882 GB, free: 372 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000149/0.6774, allocations: 59.59 kB / 0.5883 GB, free: 344 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.003507/0.6809, allocations: 1.44 MB / 0.5897 GB, free: 15.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.681, allocations: 12 kB / 0.5897 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.681, allocations: 11.91 kB / 0.5897 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.6812, allocations: 209.8 kB / 0.5899 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.6813, allocations: 4 kB / 0.5899 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.6813, allocations: 4 kB / 0.5899 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/0.6814, allocations: 44.92 kB / 0.59 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6815, allocations: 93.81 kB / 0.5901 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.6816, allocations: 0 / 0.5901 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.6816, allocations: 0 / 0.5901 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6816, allocations: 0 / 0.5901 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.6821, allocations: 436.2 kB / 0.5905 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6822, allocations: 64.8 kB / 0.5905 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.6823, allocations: 19.77 kB / 0.5905 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.6823, allocations: 4 kB / 0.5906 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.6823, allocations: 34.56 kB / 0.5906 GB, free: 14.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.6823, allocations: 0 / 0.5906 GB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001626/0.6825, allocations: 67.47 kB / 0.5906 GB, free: 14.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.6825, allocations: 59.34 kB / 0.5907 GB, free: 13.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.6826, allocations: 111.2 kB / 0.5908 GB, free: 13.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.6826, allocations: 25.7 kB / 0.5908 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.6827, allocations: 106.3 kB / 0.5909 GB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.6827, allocations: 27.06 kB / 0.591 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.6827, allocations: 0 / 0.591 GB, free: 13.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.6828, allocations: 322.2 kB / 0.5913 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.6828, allocations: 11.81 kB / 0.5913 GB, free: 13.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.6829, allocations: 29 kB / 0.5913 GB, free: 13.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.6829, allocations: 15.36 kB / 0.5913 GB, free: 13.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6829, allocations: 0 / 0.5913 GB, free: 13.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001162/0.683, allocations: 84.81 kB / 0.5914 GB, free: 13.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.683, allocations: 4 kB / 0.5914 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.6831, allocations: 32 / 0.5914 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.6831, allocations: 4.188 kB / 0.5914 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6832, allocations: 23.98 kB / 0.5914 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.6832, allocations: 3.938 kB / 0.5914 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.6833, allocations: 16.11 kB / 0.5915 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6833, allocations: 11.19 kB / 0.5915 GB, free: 13.17 MB / 394.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 (9): * Single equations (assignments): 9 * 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 5.391e-05/0.6834, allocations: 104.9 kB / 0.5916 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.6834, allocations: 7.906 kB / 0.5916 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.6836, allocations: 79.67 kB / 0.5916 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6836, allocations: 3.906 kB / 0.5917 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6836, allocations: 0 / 0.5917 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6836, allocations: 3.984 kB / 0.5917 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.6837, allocations: 168.8 kB / 0.5918 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6838, allocations: 4 kB / 0.5918 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.6839, allocations: 27.67 kB / 0.5918 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6839, allocations: 0 / 0.5918 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.6839, allocations: 3.906 kB / 0.5919 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6839, allocations: 0 / 0.5919 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6839, allocations: 3.984 kB / 0.5919 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001316/0.684, allocations: 170.3 kB / 0.592 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002015/0.6843, allocations: 0.5375 MB / 0.5925 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.6843, allocations: 81.02 kB / 0.5926 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6843, allocations: 7.906 kB / 0.5926 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6844, allocations: 7.984 kB / 0.5926 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.6845, allocations: 11.98 kB / 0.5926 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.6845, allocations: 0 / 0.5926 GB, free: 11.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.27e-05/0.6845, allocations: 99.09 kB / 0.5927 GB, free: 11.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007741/0.6853, allocations: 8 kB / 0.5927 GB, free: 11.8 MB / 394.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 (8): * Single equations (assignments): 8 * 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 7.741e-05/0.6854, allocations: 103.1 kB / 0.5928 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.635e-05/0.6855, allocations: 42.94 kB / 0.5929 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.6855, allocations: 0 / 0.5929 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.116e-05/0.6856, allocations: 26.62 kB / 0.5929 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.6857, allocations: 4.062 kB / 0.5929 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.686, allocations: 122 kB / 0.593 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.6863, allocations: 0.7188 MB / 0.5937 GB, free: 10.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6863, allocations: 0 / 0.5937 GB, free: 10.77 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1)