Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",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.001755/0.001755, allocations: 205.8 kB / 8.544 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008865/0.0008865, allocations: 90.69 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09958/0.1005, allocations: 56.9 MB / 343.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.1912, allocations: 51.47 MB / 394.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.4103, allocations: 76.51 MB / 471.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4105, allocations: 71.22 kB / 471.3 MB, free: 14.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.002539/0.4131, allocations: 1.124 MB / 472.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.4131, allocations: 12 kB / 472.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.4131, allocations: 11.84 kB / 472.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.4133, allocations: 189.4 kB / 472.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4133, allocations: 1.688 kB / 472.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.4133, allocations: 4 kB / 472.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.168e-05/0.4134, allocations: 15.88 kB / 472.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.4136, allocations: 101.5 kB / 472.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4136, allocations: 0 / 472.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.4136, allocations: 0 / 472.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4136, allocations: 2.969 kB / 472.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.4139, allocations: 235.4 kB / 473 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.414, allocations: 133 kB / 473.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.414, allocations: 25.58 kB / 473.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.4141, allocations: 3.375 kB / 473.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.4141, allocations: 41.09 kB / 473.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4141, allocations: 0 / 473.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000153/0.4143, allocations: 49 kB / 473.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.4143, allocations: 85.05 kB / 473.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.4144, allocations: 124.2 kB / 473.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.4144, allocations: 25.7 kB / 473.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.4144, allocations: 80.14 kB / 473.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.4144, allocations: 0 / 473.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.4144, allocations: 0 / 473.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.571e-05/0.4145, allocations: 321.6 kB / 473.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.4145, allocations: 0 / 473.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.4145, allocations: 30.75 kB / 473.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.762e-05/0.4146, allocations: 11.41 kB / 473.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.4146, allocations: 3.906 kB / 473.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.958e-05/0.4146, allocations: 48.89 kB / 473.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.4147, allocations: 8 kB / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4147, allocations: 0 / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4147, allocations: 4 kB / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.115e-05/0.4147, allocations: 3.422 kB / 473.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4147, allocations: 4 kB / 474 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.4148, allocations: 3.938 kB / 474 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.4148, allocations: 7.906 kB / 474 MB, free: 12.22 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: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * 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.219e-05/0.4148, allocations: 104.5 kB / 474.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.4149, allocations: 52.83 kB / 474.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.4149, allocations: 7.625 kB / 474.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4149, allocations: 4 kB / 474.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4149, allocations: 0 / 474.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.415, allocations: 0 / 474.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.4151, allocations: 142.5 kB / 474.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4151, allocations: 0 / 474.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.4151, allocations: 9.406 kB / 474.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4151, allocations: 7.906 kB / 474.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4151, allocations: 0 / 474.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4151, allocations: 0 / 474.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4151, allocations: 4 kB / 474.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.703e-05/0.4152, allocations: 160.8 kB / 474.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001066/0.4153, allocations: 0.5434 MB / 475 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4154, allocations: 88.28 kB / 475.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4154, allocations: 3.906 kB / 475.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.4155, allocations: 0 / 475.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.4155, allocations: 4 kB / 475.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4155, allocations: 0 / 475.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.713e-05/0.4155, allocations: 99.88 kB / 475.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008183/0.4164, allocations: 8 kB / 475.2 MB, free: 10.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,assignClock.u,assignClock.y,sample1.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.7e-05/0.4165, allocations: 98.62 kB / 475.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.032e-05/0.4165, allocations: 21.59 kB / 475.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4165, allocations: 0 / 475.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.4165, allocations: 4 kB / 475.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.4168, allocations: 14.66 kB / 475.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.417, allocations: 100.4 kB / 475.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.4171, allocations: 0.7008 MB / 476.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4171, allocations: 3.938 kB / 476.1 MB, free: 9.992 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1)