Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00114/0.00114, allocations: 196.2 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 225.5 MB / 234.4 MB, free: 14.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009432/0.0009434, allocations: 91.86 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1107/0.1117, allocations: 56.88 MB / 343.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.324, allocations: 51.46 MB / 394.7 MB, free: 33.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09289/0.417, allocations: 76.59 MB / 471.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.4173, allocations: 73.17 kB / 471.4 MB, free: 4.371 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.003714/0.421, allocations: 1.261 MB / 472.6 MB, free: 3.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4211, allocations: 8 kB / 472.6 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.4212, allocations: 11.84 kB / 472.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.4214, allocations: 187.9 kB / 472.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.4214, allocations: 0 / 472.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.4214, allocations: 4.625 kB / 472.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.852e-05/0.4215, allocations: 19.91 kB / 472.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.4218, allocations: 114.7 kB / 473 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4218, allocations: 0.75 kB / 473 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4218, allocations: 0 / 473 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.4219, allocations: 4.531 kB / 473 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.422, allocations: 146.2 kB / 473.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4222, allocations: 56.69 kB / 473.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.4223, allocations: 32.86 kB / 473.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.4223, allocations: 0 / 473.2 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4223, allocations: 38.5 kB / 473.2 MB, free: 2.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.455e-06/0.4223, allocations: 8 kB / 473.2 MB, free: 2.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002129/0.4225, allocations: 75.34 kB / 473.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4226, allocations: 55.41 kB / 473.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4227, allocations: 117.8 kB / 473.5 MB, free: 2.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.4228, allocations: 25.7 kB / 473.5 MB, free: 2.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.4228, allocations: 80.14 kB / 473.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.4228, allocations: 8 kB / 473.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4228, allocations: 0 / 473.6 MB, free: 1.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.423, allocations: 322.8 kB / 473.9 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.423, allocations: 4 kB / 473.9 MB, free: 1.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.4231, allocations: 54.81 kB / 474 MB, free: 1.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.4231, allocations: 19.91 kB / 474 MB, free: 1.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4231, allocations: 1.125 kB / 474 MB, free: 1.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001274/0.4233, allocations: 77.55 kB / 474.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4233, allocations: 8 kB / 474.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4233, allocations: 256 / 474.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4233, allocations: 11.91 kB / 474.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.079e-05/0.4233, allocations: 7.938 kB / 474.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4234, allocations: 4 kB / 474.1 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.4234, allocations: 4 kB / 474.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4234, allocations: 4 kB / 474.1 MB, free: 1.418 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 9.366e-05/0.4235, allocations: 106.3 kB / 474.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/0.4236, allocations: 69.53 kB / 474.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.4237, allocations: 8.375 kB / 474.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4237, allocations: 9.297 kB / 474.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4237, allocations: 4 kB / 474.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4237, allocations: 0 / 474.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.4238, allocations: 146.1 kB / 474.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4238, allocations: 0 / 474.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.4238, allocations: 0 / 474.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4238, allocations: 0 / 474.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4239, allocations: 0 / 474.4 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4239, allocations: 4 kB / 474.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4239, allocations: 0 / 474.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001318/0.424, allocations: 102.4 kB / 474.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002417/0.4243, allocations: 481.3 kB / 475 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.4243, allocations: 89 kB / 475.1 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4244, allocations: 3.938 kB / 475.1 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.667e-05/0.4244, allocations: 1.219 kB / 475.1 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-06/0.4244, allocations: 0 / 475.1 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4244, allocations: 8 kB / 475.1 MB, free: 320 kB / 346.7 MB Notification: Performance of sort global known variables: time 6.076e-05/0.4245, allocations: 99.27 kB / 475.2 MB, free: 220 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008017/0.4253, allocations: 11.91 kB / 475.2 MB, free: 208 kB / 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.0001443/0.4254, allocations: 95.25 kB / 475.3 MB, free: 100 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.4256, allocations: 35.94 kB / 475.4 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4256, allocations: 0 / 475.4 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.4256, allocations: 0.5 kB / 475.4 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.4259, allocations: 44.59 kB / 475.4 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.4262, allocations: 100.8 kB / 475.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.4267, allocations: 0.7075 MB / 476.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4267, allocations: 0 / 476.2 MB, free: 15.16 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1)