Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",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.001767/0.001767, allocations: 206.7 kB / 8.54 MB, free: 1.715 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008827/0.0008827, allocations: 89.58 kB / 286.3 MB, free: 5.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1124/0.1134, allocations: 56.9 MB / 343.2 MB, free: 8.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.2246, allocations: 51.47 MB / 394.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.4834, allocations: 76.78 MB / 471.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4838, allocations: 74.2 kB / 471.6 MB, free: 14.31 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.003777/0.4875, allocations: 1.632 MB / 473.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4876, allocations: 8 kB / 473.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.4876, allocations: 15.64 kB / 473.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.4878, allocations: 188.7 kB / 473.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4878, allocations: 7.906 kB / 473.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.4879, allocations: 4 kB / 473.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.488, allocations: 41.3 kB / 473.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.4883, allocations: 193.6 kB / 473.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4883, allocations: 0 / 473.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4883, allocations: 0 / 473.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4883, allocations: 4 kB / 473.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.947e-05/0.4884, allocations: 152 kB / 473.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4886, allocations: 112.5 kB / 473.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.4887, allocations: 80.3 kB / 474 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.4887, allocations: 0 / 474 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.4887, allocations: 35.91 kB / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.4887, allocations: 0 / 474 MB, free: 12.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001902/0.4889, allocations: 107.8 kB / 474.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.489, allocations: 59.34 kB / 474.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.489, allocations: 132.5 kB / 474.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.4891, allocations: 33.7 kB / 474.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.456e-05/0.4891, allocations: 80.47 kB / 474.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.4891, allocations: 14.88 kB / 474.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.4891, allocations: 0 / 474.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.4892, allocations: 316.6 kB / 474.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.4892, allocations: 18.31 kB / 474.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.622e-05/0.4893, allocations: 113.8 kB / 474.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.4893, allocations: 39.39 kB / 474.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4893, allocations: 4 kB / 474.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001505/0.4895, allocations: 124.8 kB / 475 MB, free: 11.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.4895, allocations: 7.125 kB / 475 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4895, allocations: 4 kB / 475 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4895, allocations: 7.906 kB / 475.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.4895, allocations: 18.47 kB / 475.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4896, allocations: 8 kB / 475.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.4896, allocations: 4 kB / 475.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4896, allocations: 8 kB / 475.1 MB, free: 11.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 6.134e-05/0.4897, allocations: 123.4 kB / 475.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.4898, allocations: 112.5 kB / 475.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.4899, allocations: 18.72 kB / 475.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4899, allocations: 0 / 475.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4899, allocations: 7.938 kB / 475.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4899, allocations: 5.406 kB / 475.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.181e-05/0.49, allocations: 150.2 kB / 475.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.49, allocations: 0 / 475.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.49, allocations: 3.375 kB / 475.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.49, allocations: 4 kB / 475.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.49, allocations: 0 / 475.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.49, allocations: 6.344 kB / 475.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.49, allocations: 0 / 475.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001386/0.4902, allocations: 141.8 kB / 475.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001733/0.4904, allocations: 0.5109 MB / 476.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.4904, allocations: 99.5 kB / 476.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.4904, allocations: 3.328 kB / 476.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.887e-05/0.4905, allocations: 7.938 kB / 476.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-06/0.4905, allocations: 0 / 476.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.4905, allocations: 0 / 476.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.03e-05/0.4905, allocations: 111.9 kB / 476.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007925/0.4913, allocations: 12 kB / 476.4 MB, free: 10.21 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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 9.794e-05/0.4914, allocations: 103.2 kB / 476.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.4916, allocations: 80.7 kB / 476.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.4916, allocations: 0 / 476.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.4916, allocations: 0 / 476.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4919, allocations: 74.81 kB / 476.6 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.4921, allocations: 159.5 kB / 476.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4923, allocations: 0.7316 MB / 477.5 MB, free: 9.109 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4923, allocations: 0 / 477.5 MB, free: 9.109 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1)