Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 183.5 kB / 8.135 MB, free: 2.223 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.161/1.161, allocations: 221.4 MB / 229.9 MB, free: 3.246 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.0008614/0.0008615, allocations: 94.72 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1014/0.1023, allocations: 55.82 MB / 336.6 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.3094, allocations: 50.39 MB / 387 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08512/0.3946, allocations: 75.97 MB / 463 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3948, allocations: 75.89 kB / 463.1 MB, free: 10.72 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.004028/0.3989, allocations: 1.633 MB / 464.7 MB, free: 9.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3989, allocations: 8 kB / 464.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.3989, allocations: 16.41 kB / 464.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.3992, allocations: 194.9 kB / 464.9 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3992, allocations: 5.031 kB / 464.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3992, allocations: 8.719 kB / 464.9 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.3993, allocations: 35.94 kB / 464.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.3996, allocations: 196.2 kB / 465.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3996, allocations: 4 kB / 465.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3997, allocations: 3.984 kB / 465.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3997, allocations: 0.8438 kB / 465.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.3998, allocations: 152 kB / 465.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.4, allocations: 121.3 kB / 465.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/0.4001, allocations: 73.03 kB / 465.5 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.4001, allocations: 4 kB / 465.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4002, allocations: 38.47 kB / 465.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.4002, allocations: 0 / 465.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002118/0.4004, allocations: 106.7 kB / 465.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.4005, allocations: 59.34 kB / 465.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.4006, allocations: 129.1 kB / 465.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.4006, allocations: 25.7 kB / 465.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.4006, allocations: 88.47 kB / 465.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.4007, allocations: 11.98 kB / 465.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.4007, allocations: 0 / 465.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4008, allocations: 326.7 kB / 466.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.4008, allocations: 12 kB / 466.3 MB, free: 7.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.4009, allocations: 109.7 kB / 466.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.401, allocations: 44.42 kB / 466.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.401, allocations: 0 / 466.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000185/0.4012, allocations: 125.3 kB / 466.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4012, allocations: 10.97 kB / 466.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4012, allocations: 10.02 kB / 466.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4013, allocations: 4 kB / 466.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.403e-05/0.4013, allocations: 11.88 kB / 466.6 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.4013, allocations: 16.34 kB / 466.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.4014, allocations: 4 kB / 466.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4014, allocations: 12 kB / 466.6 MB, free: 6.941 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 9.461e-05/0.4015, allocations: 116.9 kB / 466.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.4016, allocations: 111.8 kB / 466.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.4017, allocations: 16.67 kB / 466.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.4017, allocations: 4 kB / 466.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4017, allocations: 0 / 466.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4017, allocations: 0 / 466.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.4018, allocations: 158.2 kB / 467 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4018, allocations: 0 / 467 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.4018, allocations: 4 kB / 467 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4019, allocations: 0 / 467 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4019, allocations: 0 / 467 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4019, allocations: 4 kB / 467 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4019, allocations: 3.906 kB / 467 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001643/0.4021, allocations: 136.9 kB / 467.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002943/0.4024, allocations: 0.5155 MB / 467.7 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.4024, allocations: 100.9 kB / 467.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4025, allocations: 0 / 467.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.4025, allocations: 0 / 467.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-06/0.4025, allocations: 3.984 kB / 467.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.4025, allocations: 4 kB / 467.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.052e-05/0.4026, allocations: 103.3 kB / 467.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000891/0.4035, allocations: 16 kB / 467.9 MB, free: 5.555 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 0.0001136/0.4036, allocations: 103.2 kB / 468 MB, free: 5.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.4037, allocations: 79.86 kB / 468.1 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4038, allocations: 1 kB / 468.1 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.4038, allocations: 0 / 468.1 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4041, allocations: 79.66 kB / 468.1 MB, free: 5.289 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.4044, allocations: 153.6 kB / 468.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.4048, allocations: 0.7352 MB / 469 MB, free: 4.355 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4048, allocations: 0 / 469 MB, free: 4.355 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1)