Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",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 4.0.0+maint.om/package.mo): time 0.006875/0.006875, allocations: 178.4 kB / 7.456 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07324/0.07324, allocations: 8.706 MB / 16.58 MB, free: 436 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.268/2.268, allocations: 221.4 MB / 240.5 MB, free: 8.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 102.9 kB / 293.5 MB, free: 5.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2268/0.2281, allocations: 58.66 MB / 352.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.7989, allocations: 52.55 MB / 404.7 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.9735, allocations: 75.65 MB / 480.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004509/0.9741, allocations: 55.97 kB / 480.4 MB, free: 14.91 MB / 362.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.003528/0.9777, allocations: 0.6149 MB / 481 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/0.9778, allocations: 8 kB / 481.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.9779, allocations: 11.91 kB / 481.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.9781, allocations: 167 kB / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.9782, allocations: 1.031 kB / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.9782, allocations: 4 kB / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.165e-05/0.9783, allocations: 0 / 481.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.9785, allocations: 52.77 kB / 481.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.9785, allocations: 3.906 kB / 481.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.9785, allocations: 0 / 481.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.9785, allocations: 0.5938 kB / 481.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.979, allocations: 143.9 kB / 481.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.9791, allocations: 38.59 kB / 481.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.9792, allocations: 10.69 kB / 481.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.9792, allocations: 0 / 481.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.9792, allocations: 40.02 kB / 481.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/0.9793, allocations: 0 / 481.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.9795, allocations: 43.11 kB / 481.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.9796, allocations: 81.11 kB / 481.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.9797, allocations: 89.81 kB / 481.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.9798, allocations: 29.69 kB / 481.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.9798, allocations: 84.73 kB / 481.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.9799, allocations: 4.438 kB / 481.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.9799, allocations: 0.5 kB / 481.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.9801, allocations: 320 kB / 482.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.9801, allocations: 3.938 kB / 482.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.9802, allocations: 32.22 kB / 482.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.9803, allocations: 13.61 kB / 482.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9803, allocations: 1.938 kB / 482.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001479/0.9804, allocations: 57.48 kB / 482.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9805, allocations: 4 kB / 482.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.9805, allocations: 4.797 kB / 482.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.9805, allocations: 0 / 482.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.9806, allocations: 9.219 kB / 482.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.9807, allocations: 0 / 482.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.9807, allocations: 4 kB / 482.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.9808, allocations: 1.719 kB / 482.3 MB, free: 12.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001092/0.9809, allocations: 108.9 kB / 482.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.9809, allocations: 4 kB / 482.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.981, allocations: 5.969 kB / 482.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.981, allocations: 0 / 482.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.981, allocations: 4 kB / 482.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.981, allocations: 3.984 kB / 482.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.9813, allocations: 138.1 kB / 482.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9813, allocations: 7.938 kB / 482.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.9814, allocations: 4 kB / 482.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.9814, allocations: 0 / 482.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.9814, allocations: 4.188 kB / 482.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.9815, allocations: 4 kB / 482.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9815, allocations: 0 / 482.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001852/0.9817, allocations: 83.61 kB / 482.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003878/0.9821, allocations: 476.1 kB / 483.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.9822, allocations: 85.33 kB / 483.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.9822, allocations: 4 kB / 483.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.9823, allocations: 0 / 483.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.9823, allocations: 7.969 kB / 483.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.9823, allocations: 4.094 kB / 483.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.485e-05/0.9824, allocations: 87.28 kB / 483.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001575/0.984, allocations: 8 kB / 483.3 MB, free: 11.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000313/0.9843, allocations: 107.2 kB / 483.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.9845, allocations: 19.94 kB / 483.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9845, allocations: 0 / 483.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.9846, allocations: 4 kB / 483.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.9848, allocations: 4 kB / 483.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.9852, allocations: 105 kB / 483.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.9857, allocations: 0.6958 MB / 484.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.9858, allocations: 384 / 484.2 MB, free: 10.72 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Classes_TestVector2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)