Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001132/0.001132, allocations: 192.1 kB / 8.536 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 98.89 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1218/0.123, allocations: 56.91 MB / 343.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.2283, allocations: 51.47 MB / 394.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.5167, allocations: 76.11 MB / 470.8 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.517, allocations: 79.02 kB / 470.9 MB, free: 14.97 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.001715/0.5187, allocations: 0.7234 MB / 471.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5188, allocations: 8 kB / 471.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.5188, allocations: 2.812 kB / 471.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.519, allocations: 184.8 kB / 471.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.519, allocations: 2.281 kB / 471.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.519, allocations: 0 / 471.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.105e-05/0.5191, allocations: 11.44 kB / 471.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.5193, allocations: 83.91 kB / 471.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5193, allocations: 4 kB / 471.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.5193, allocations: 0 / 471.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5193, allocations: 0 / 471.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.503e-05/0.5194, allocations: 137.3 kB / 472 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.19e-05/0.5195, allocations: 40.33 kB / 472.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.5195, allocations: 17.33 kB / 472.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.5196, allocations: 4 kB / 472.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.5196, allocations: 33.56 kB / 472.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.5196, allocations: 0 / 472.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001242/0.5197, allocations: 48.34 kB / 472.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.5198, allocations: 55.41 kB / 472.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.5198, allocations: 95.66 kB / 472.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.5198, allocations: 25.7 kB / 472.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.1e-05/0.5198, allocations: 89.16 kB / 472.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.5199, allocations: 6.938 kB / 472.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.5199, allocations: 0 / 472.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.5199, allocations: 310.8 kB / 472.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-06/0.5199, allocations: 3.25 kB / 472.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.5199, allocations: 30.7 kB / 472.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.557e-05/0.52, allocations: 11.38 kB / 472.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.52, allocations: 0 / 472.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.804e-05/0.52, allocations: 52.92 kB / 472.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.52, allocations: 4 kB / 472.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5201, allocations: 3.828 kB / 472.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5201, allocations: 6.344 kB / 472.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.5201, allocations: 4 kB / 472.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.5201, allocations: 0 / 472.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.5202, allocations: 8.125 kB / 472.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.5202, allocations: 3.375 kB / 472.9 MB, free: 13.09 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.494e-05/0.5202, allocations: 116.3 kB / 473 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.5203, allocations: 41.52 kB / 473 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.5203, allocations: 7.375 kB / 473 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5203, allocations: 192 / 473 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5203, allocations: 0 / 473 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5203, allocations: 3.984 kB / 473 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.956e-05/0.5204, allocations: 141.5 kB / 473.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5204, allocations: 4 kB / 473.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.5204, allocations: 11.42 kB / 473.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5205, allocations: 0 / 473.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.5205, allocations: 0 / 473.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5205, allocations: 0 / 473.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5205, allocations: 4 kB / 473.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.834e-05/0.5206, allocations: 77.52 kB / 473.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.96e-05/0.5207, allocations: 458.9 kB / 473.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.5207, allocations: 81.02 kB / 473.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.5207, allocations: 0 / 473.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.189e-05/0.5207, allocations: 4 kB / 473.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-06/0.5208, allocations: 0 / 473.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.5208, allocations: 0 / 473.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.171e-05/0.5208, allocations: 95.98 kB / 473.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008005/0.5216, allocations: 4 kB / 473.9 MB, free: 12 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.432e-05/0.5217, allocations: 95.25 kB / 474 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.5218, allocations: 18.75 kB / 474 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5218, allocations: 0 / 474 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.5218, allocations: 0 / 474 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.522, allocations: 15.36 kB / 474 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001683/0.5221, allocations: 74.16 kB / 474.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.5223, allocations: 0.691 MB / 474.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5223, allocations: 0 / 474.8 MB, free: 11.08 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)