Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",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 4.0.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 182.9 kB / 8.13 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.138/1.138, allocations: 221.4 MB / 229.9 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 95.17 kB / 280.8 MB, free: 1.223 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.108/0.109, allocations: 55.83 MB / 336.6 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.3637, allocations: 50.38 MB / 387 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09243/0.4562, allocations: 75.79 MB / 462.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4564, allocations: 80.89 kB / 462.9 MB, free: 10.85 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00332/0.4598, allocations: 1.261 MB / 464.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4598, allocations: 9.219 kB / 464.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.4599, allocations: 11.89 kB / 464.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.4601, allocations: 189.5 kB / 464.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4601, allocations: 5.719 kB / 464.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4601, allocations: 0 / 464.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.773e-05/0.4602, allocations: 20.56 kB / 464.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.4604, allocations: 121 kB / 464.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4605, allocations: 1.875 kB / 464.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4605, allocations: 0 / 464.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4605, allocations: 0 / 464.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.4607, allocations: 146.2 kB / 464.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.4608, allocations: 59.97 kB / 464.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.4609, allocations: 31.98 kB / 464.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4609, allocations: 4.562 kB / 464.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4609, allocations: 31.31 kB / 464.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.4609, allocations: 1.781 kB / 464.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001617/0.4611, allocations: 65.64 kB / 464.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.4611, allocations: 63.25 kB / 464.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.4613, allocations: 117 kB / 465 MB, free: 8.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4613, allocations: 29.7 kB / 465 MB, free: 8.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.4613, allocations: 84.12 kB / 465.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.4613, allocations: 4 kB / 465.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.4614, allocations: 0 / 465.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4615, allocations: 318.8 kB / 465.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.4615, allocations: 8 kB / 465.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.4616, allocations: 59.89 kB / 465.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.4616, allocations: 19.94 kB / 465.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4616, allocations: 0 / 465.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001199/0.4617, allocations: 73.47 kB / 465.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4618, allocations: 7.984 kB / 465.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4618, allocations: 4 kB / 465.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4618, allocations: 1.219 kB / 465.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.557e-05/0.4618, allocations: 4 kB / 465.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4618, allocations: 12.16 kB / 465.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.4619, allocations: 3.938 kB / 465.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4619, allocations: 4 kB / 465.6 MB, free: 7.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.572e-05/0.462, allocations: 110.8 kB / 465.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.462, allocations: 67.62 kB / 465.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.4621, allocations: 12.38 kB / 465.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4621, allocations: 0 / 465.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4621, allocations: 0 / 465.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4621, allocations: 4 kB / 465.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.4622, allocations: 151 kB / 465.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4622, allocations: 0 / 465.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.4623, allocations: 8.5 kB / 466 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4623, allocations: 0 / 466 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4623, allocations: 0 / 466 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4623, allocations: 0 / 466 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4623, allocations: 0.625 kB / 466 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.4624, allocations: 89.03 kB / 466 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002421/0.4627, allocations: 483.6 kB / 466.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.4627, allocations: 96.98 kB / 466.6 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4628, allocations: 11.92 kB / 466.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.4628, allocations: 1.062 kB / 466.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-06/0.4628, allocations: 0 / 466.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4628, allocations: 0 / 466.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.168e-05/0.4629, allocations: 101.7 kB / 466.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008283/0.4637, allocations: 12 kB / 466.7 MB, free: 6.691 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001319/0.4639, allocations: 99.16 kB / 466.8 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.955e-05/0.464, allocations: 39.88 kB / 466.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.464, allocations: 0 / 466.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-07/0.464, allocations: 4 kB / 466.9 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.4643, allocations: 38.88 kB / 466.9 MB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.4645, allocations: 108 kB / 467 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.4649, allocations: 0.7083 MB / 467.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4649, allocations: 0 / 467.7 MB, free: 5.641 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1)