Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",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.001021/0.001021, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000876/0.000876, allocations: 86.92 kB / 286.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.15/0.1509, allocations: 56.9 MB / 343.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.2496, allocations: 51.47 MB / 394.7 MB, free: 5.004 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2397/0.4893, allocations: 76.11 MB / 470.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4896, allocations: 76.48 kB / 470.9 MB, free: 15.21 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001831/0.4914, allocations: 0.7189 MB / 471.6 MB, free: 14.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4915, allocations: 11.39 kB / 471.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.4916, allocations: 6.75 kB / 471.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4917, allocations: 185.5 kB / 471.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.4917, allocations: 2.594 kB / 471.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.4917, allocations: 0 / 471.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.928e-05/0.4918, allocations: 11.56 kB / 471.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.492, allocations: 84.59 kB / 471.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.492, allocations: 0 / 471.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.492, allocations: 4 kB / 471.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.492, allocations: 0 / 471.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.6e-05/0.4921, allocations: 133.2 kB / 472 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.771e-05/0.4922, allocations: 40.81 kB / 472.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.4923, allocations: 23.69 kB / 472.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4923, allocations: 4 kB / 472.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.4923, allocations: 30.56 kB / 472.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4923, allocations: 0 / 472.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001196/0.4924, allocations: 48.33 kB / 472.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.4925, allocations: 51.41 kB / 472.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.4925, allocations: 99.77 kB / 472.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.4925, allocations: 25.7 kB / 472.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.159e-05/0.4926, allocations: 83.95 kB / 472.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.321e-06/0.4926, allocations: 4 kB / 472.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.4926, allocations: 4 kB / 472.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.4926, allocations: 314.2 kB / 472.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-06/0.4926, allocations: 3.125 kB / 472.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.4927, allocations: 31.06 kB / 472.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.714e-05/0.4927, allocations: 8 kB / 472.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4927, allocations: 0 / 472.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.122e-05/0.4928, allocations: 52.88 kB / 472.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4928, allocations: 4 kB / 472.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4928, allocations: 0 / 472.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4928, allocations: 7.281 kB / 472.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.4929, allocations: 9.766 kB / 472.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4929, allocations: 0 / 472.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.4929, allocations: 15.62 kB / 472.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.4929, allocations: 0 / 472.9 MB, free: 13.3 MB / 346.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 4.836e-05/0.493, allocations: 108.9 kB / 473 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.493, allocations: 44.38 kB / 473 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.4931, allocations: 8 kB / 473 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4931, allocations: 0 / 473 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4931, allocations: 0 / 473 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4931, allocations: 0 / 473 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.901e-05/0.4931, allocations: 139.8 kB / 473.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4931, allocations: 0 / 473.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.4932, allocations: 13.31 kB / 473.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4932, allocations: 0 / 473.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.4932, allocations: 0 / 473.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4932, allocations: 0 / 473.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4932, allocations: 0 / 473.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.031e-05/0.4933, allocations: 82.61 kB / 473.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.838e-05/0.4934, allocations: 455.8 kB / 473.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.4935, allocations: 77.11 kB / 473.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4935, allocations: 3.906 kB / 473.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.4935, allocations: 7.094 kB / 473.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-06/0.4935, allocations: 1.719 kB / 473.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.4935, allocations: 0 / 473.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.391e-05/0.4936, allocations: 82.84 kB / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007834/0.4944, allocations: 10.44 kB / 473.9 MB, free: 12.23 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 (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 Backend phase and start with SimCode phase: time 9.286e-05/0.4945, allocations: 95.25 kB / 474 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.4945, allocations: 21.7 kB / 474 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4945, allocations: 0 / 474 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.4946, allocations: 3.828 kB / 474 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.4947, allocations: 17.64 kB / 474 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.4949, allocations: 70 kB / 474.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.495, allocations: 0.6993 MB / 474.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.495, allocations: 0 / 474.8 MB, free: 11.31 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1)