Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001398/0.001398, allocations: 198.4 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009231/0.0009232, allocations: 92.45 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1223/0.1232, allocations: 56.9 MB / 343.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.2209, allocations: 51.47 MB / 394.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.4766, allocations: 76.11 MB / 470.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.4768, allocations: 74.03 kB / 470.9 MB, free: 15.26 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.001438/0.4783, allocations: 0.6924 MB / 471.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.4783, allocations: 8 kB / 471.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.4783, allocations: 6.094 kB / 471.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.4785, allocations: 178.1 kB / 471.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4785, allocations: 0 / 471.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.4785, allocations: 2.031 kB / 471.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.293e-05/0.4786, allocations: 19.16 kB / 471.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4787, allocations: 78.2 kB / 471.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.4787, allocations: 4 kB / 471.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.4788, allocations: 5.031 kB / 471.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4788, allocations: 0 / 471.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.396e-05/0.4788, allocations: 132.9 kB / 472 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.4789, allocations: 37.67 kB / 472 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.479, allocations: 16.8 kB / 472.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.479, allocations: 0 / 472.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.479, allocations: 37.75 kB / 472.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.479, allocations: 0 / 472.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001157/0.4791, allocations: 45.52 kB / 472.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.4792, allocations: 58.64 kB / 472.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.825e-05/0.4792, allocations: 96.91 kB / 472.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.4792, allocations: 28.05 kB / 472.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.082e-05/0.4792, allocations: 83.2 kB / 472.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.4793, allocations: 0 / 472.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.4793, allocations: 4 kB / 472.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.4793, allocations: 317.2 kB / 472.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.4793, allocations: 4 kB / 472.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.4793, allocations: 26.81 kB / 472.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.402e-05/0.4794, allocations: 7.938 kB / 472.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4794, allocations: 4 kB / 472.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.636e-05/0.4794, allocations: 48.16 kB / 472.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.4794, allocations: 4 kB / 472.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4794, allocations: 11.3 kB / 472.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.4795, allocations: 0 / 472.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.272e-05/0.4795, allocations: 7.188 kB / 472.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.4795, allocations: 0 / 472.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.4795, allocations: 0 / 472.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.4795, allocations: 4.125 kB / 472.8 MB, free: 13.39 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 3.718e-05/0.4796, allocations: 105 kB / 472.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.4796, allocations: 52.59 kB / 473 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.4797, allocations: 7.719 kB / 473 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4797, allocations: 4 kB / 473 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.4797, allocations: 0 / 473 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4797, allocations: 0 / 473 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.046e-05/0.4797, allocations: 136.5 kB / 473.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4797, allocations: 0 / 473.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.4798, allocations: 6.625 kB / 473.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4798, allocations: 7.906 kB / 473.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.4798, allocations: 0 / 473.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4798, allocations: 0 / 473.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4798, allocations: 1.812 kB / 473.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.847e-05/0.4799, allocations: 75.11 kB / 473.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 8.384e-05/0.4799, allocations: 458.1 kB / 473.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.48, allocations: 81.02 kB / 473.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.48, allocations: 0 / 473.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.731e-05/0.48, allocations: 0 / 473.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.48, allocations: 4 kB / 473.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.48, allocations: 3.375 kB / 473.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.844e-05/0.4801, allocations: 82.47 kB / 473.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007887/0.4808, allocations: 4 kB / 473.8 MB, free: 12.33 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 7.708e-05/0.4809, allocations: 103.2 kB / 473.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.7e-05/0.481, allocations: 15.5 kB / 473.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.481, allocations: 0 / 473.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-07/0.481, allocations: 3.828 kB / 473.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.4812, allocations: 21.53 kB / 474 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000147/0.4813, allocations: 64.84 kB / 474 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.4814, allocations: 0.6869 MB / 474.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.4815, allocations: 4.25 kB / 474.7 MB, free: 11.41 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1)