Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.001212/0.001212, allocations: 200.3 kB / 8.541 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008969/0.0008971, allocations: 95.09 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1111/0.112, allocations: 56.9 MB / 343.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.2058, allocations: 51.47 MB / 394.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/0.4627, allocations: 76.82 MB / 471.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.463, allocations: 79.64 kB / 471.6 MB, free: 14.47 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.004128/0.4671, allocations: 1.434 MB / 473 MB, free: 13.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4672, allocations: 12 kB / 473.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.4672, allocations: 2.812 kB / 473.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.4674, allocations: 181.6 kB / 473.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4674, allocations: 6.328 kB / 473.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.4675, allocations: 4 kB / 473.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.757e-05/0.4676, allocations: 26.27 kB / 473.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.4678, allocations: 128.5 kB / 473.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4678, allocations: 0 / 473.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4678, allocations: 0 / 473.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4678, allocations: 0 / 473.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.4679, allocations: 136.6 kB / 473.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4681, allocations: 132.5 kB / 473.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.4681, allocations: 28.02 kB / 473.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.4682, allocations: 2.875 kB / 473.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4682, allocations: 30.56 kB / 473.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.4682, allocations: 0 / 473.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001729/0.4684, allocations: 62.36 kB / 473.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.4684, allocations: 51.41 kB / 473.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.4685, allocations: 102.9 kB / 473.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.4685, allocations: 25.7 kB / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.64e-05/0.4686, allocations: 91.02 kB / 474 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.4686, allocations: 7.375 kB / 474.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.4686, allocations: 3.938 kB / 474.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.4687, allocations: 315.1 kB / 474.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.4687, allocations: 4 kB / 474.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.4687, allocations: 44.59 kB / 474.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/0.4687, allocations: 11.28 kB / 474.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4688, allocations: 4 kB / 474.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.333e-05/0.4688, allocations: 67.28 kB / 474.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.4689, allocations: 5.031 kB / 474.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4689, allocations: 8 kB / 474.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.4689, allocations: 0 / 474.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.4689, allocations: 11.28 kB / 474.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.469, allocations: 7.828 kB / 474.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.469, allocations: 3.938 kB / 474.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.469, allocations: 4 kB / 474.5 MB, free: 11.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.821e-05/0.4691, allocations: 104.9 kB / 474.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.4692, allocations: 64.69 kB / 474.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.4692, allocations: 8.625 kB / 474.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4692, allocations: 4 kB / 474.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4692, allocations: 0 / 474.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4692, allocations: 0 / 474.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.054e-05/0.4693, allocations: 143.5 kB / 474.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4693, allocations: 0 / 474.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.4694, allocations: 11.47 kB / 474.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4694, allocations: 0 / 474.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.4694, allocations: 0 / 474.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4694, allocations: 0 / 474.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4695, allocations: 7.938 kB / 474.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001027/0.4696, allocations: 91.92 kB / 475 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001494/0.4697, allocations: 466.1 kB / 475.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.4698, allocations: 81.02 kB / 475.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.4698, allocations: 7.25 kB / 475.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.4699, allocations: 18.47 kB / 475.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-06/0.4699, allocations: 4 kB / 475.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.4699, allocations: 0 / 475.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.935e-05/0.47, allocations: 82.84 kB / 475.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007952/0.4708, allocations: 8 kB / 475.6 MB, free: 10.86 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001074/0.4709, allocations: 107.1 kB / 475.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.471, allocations: 29.8 kB / 475.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.471, allocations: 0 / 475.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.471, allocations: 3.938 kB / 475.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4712, allocations: 29.97 kB / 475.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.4714, allocations: 84.86 kB / 475.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.4717, allocations: 0.7009 MB / 476.6 MB, free: 9.895 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4717, allocations: 0 / 476.6 MB, free: 9.895 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1)